summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_processlogon.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-08-22 10:33:21 +0000
committerHerb Lewis <herb@samba.org>2002-08-22 10:33:21 +0000
commitf5a4487df573f8dfb2b6e18a492585220df1f5bb (patch)
tree4551afc55c3728f8168f909e312aefa6347c04b1 /source3/nmbd/nmbd_processlogon.c
parent3276da43142bb4a0886747dabcfce6a436f11f25 (diff)
downloadsamba-f5a4487df573f8dfb2b6e18a492585220df1f5bb.tar.gz
samba-f5a4487df573f8dfb2b6e18a492585220df1f5bb.tar.bz2
samba-f5a4487df573f8dfb2b6e18a492585220df1f5bb.zip
fix for difference in strsep and strtok semantics
(This used to be commit 51e0a4adc7c6cc09e53003726b31201a091e9f35)
Diffstat (limited to 'source3/nmbd/nmbd_processlogon.c')
-rw-r--r--source3/nmbd/nmbd_processlogon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index 49de2e4a50..b65cebe203 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -335,6 +335,7 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
dc = domain;
q1 = q;
while ((component = strtok(dc, "."))) {
+ dc = NULL;
size = push_ascii(&q[1], component, -1, 0);
SCVAL(q, 0, size);
q += (size + 1);