1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r22018: fix compile error

(This used to be commit a4c1c770a227390f745c9db07efe468bdcd31339)
This commit is contained in:
Herb Lewis 2007-03-31 03:11:02 +00:00 committed by Gerald (Jerry) Carter
parent 730bfd9ced
commit 01efa3d403

View File

@ -431,13 +431,13 @@ void process_lm_host_announce(struct subnet_record *subrec, struct packet_struct
fstring comment; fstring comment;
char *s = get_safe_offset(buf,len,buf,9); char *s = get_safe_offset(buf,len,buf,9);
if (!s) {
return;
}
START_PROFILE(lm_host_announce); START_PROFILE(lm_host_announce);
if (!s) {
goto done;
}
s = skip_string(buf,len,s,1); s = skip_string(buf,len,s,1);
if (!s) { if (!s) {
return; goto done;
} }
pull_ascii(comment, s, sizeof(fstring), 43, STR_TERMINATE); pull_ascii(comment, s, sizeof(fstring), 43, STR_TERMINATE);