1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-16 09:57:47 +03:00

fix for difference in strsep and strtok semantics

(This used to be commit 51e0a4adc7c6cc09e53003726b31201a091e9f35)
This commit is contained in:
Herb Lewis 2002-08-22 10:33:21 +00:00
parent 3276da4314
commit f5a4487df5

@ -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);