diff options
author | Herb Lewis <herb@samba.org> | 2002-08-20 18:43:59 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-08-20 18:43:59 +0000 |
commit | 2d05704d0e4b553d881f4e2563b2e71a9e1457da (patch) | |
tree | aa96bd703dc1dce8bbc135b73707a9dba11f24c1 /source3/nmbd/nmbd_processlogon.c | |
parent | 89c68c1bc3624e756533c9d16794402c29d71321 (diff) | |
download | samba-2d05704d0e4b553d881f4e2563b2e71a9e1457da.tar.gz samba-2d05704d0e4b553d881f4e2563b2e71a9e1457da.tar.bz2 samba-2d05704d0e4b553d881f4e2563b2e71a9e1457da.zip |
fix irix compile errors - cannot initialize array in declaration statement
with non-const values - strsep not defined
(This used to be commit a5c59b2cd10016ecbd931531602ad1cb3660bbf9)
Diffstat (limited to 'source3/nmbd/nmbd_processlogon.c')
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index d6605d08f5..49de2e4a50 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -334,7 +334,7 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", /* Push domain components */ dc = domain; q1 = q; - while ((component = strsep(&dc, "."))) { + while ((component = strtok(dc, "."))) { size = push_ascii(&q[1], component, -1, 0); SCVAL(q, 0, size); q += (size + 1); |