diff options
author | Herb Lewis <herb@samba.org> | 2002-08-22 10:33:21 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-08-22 10:33:21 +0000 |
commit | f5a4487df573f8dfb2b6e18a492585220df1f5bb (patch) | |
tree | 4551afc55c3728f8168f909e312aefa6347c04b1 /source3/nmbd/nmbd_processlogon.c | |
parent | 3276da43142bb4a0886747dabcfce6a436f11f25 (diff) | |
download | samba-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.c | 1 |
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); |