diff options
author | Herb Lewis <herb@samba.org> | 2007-03-31 03:11:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:02 -0500 |
commit | 01efa3d40392be1f17398f8b713f45f410e265e7 (patch) | |
tree | d62279c955d6f8a684e3161bb152d7e209304acf /source3/nmbd | |
parent | 730bfd9ced5dc7bf6948de66834f3e465a8cc724 (diff) | |
download | samba-01efa3d40392be1f17398f8b713f45f410e265e7.tar.gz samba-01efa3d40392be1f17398f8b713f45f410e265e7.tar.bz2 samba-01efa3d40392be1f17398f8b713f45f410e265e7.zip |
r22018: fix compile error
(This used to be commit a4c1c770a227390f745c9db07efe468bdcd31339)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_incomingdgrams.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd_incomingdgrams.c b/source3/nmbd/nmbd_incomingdgrams.c index 616b5df9db..ef23f3a20d 100644 --- a/source3/nmbd/nmbd_incomingdgrams.c +++ b/source3/nmbd/nmbd_incomingdgrams.c @@ -431,13 +431,13 @@ void process_lm_host_announce(struct subnet_record *subrec, struct packet_struct fstring comment; char *s = get_safe_offset(buf,len,buf,9); + START_PROFILE(lm_host_announce); if (!s) { - return; + goto done; } - START_PROFILE(lm_host_announce); s = skip_string(buf,len,s,1); if (!s) { - return; + goto done; } pull_ascii(comment, s, sizeof(fstring), 43, STR_TERMINATE); |