From 01efa3d40392be1f17398f8b713f45f410e265e7 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Sat, 31 Mar 2007 03:11:02 +0000 Subject: r22018: fix compile error (This used to be commit a4c1c770a227390f745c9db07efe468bdcd31339) --- source3/nmbd/nmbd_incomingdgrams.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/nmbd') 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); -- cgit