diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-02 20:10:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:05 -0500 |
commit | 140881cfbb59ce4a699b5900efe02bf315be7bd5 (patch) | |
tree | 11efd355c47b06d2bf64ce0922be6407941089e7 /source/nmbd/nmbd_incomingdgrams.c | |
parent | 08ea2b83b26968990fce191cdafe26d3183518a6 (diff) | |
download | samba-140881cfbb59ce4a699b5900efe02bf315be7bd5.tar.gz samba-140881cfbb59ce4a699b5900efe02bf315be7bd5.tar.xz samba-140881cfbb59ce4a699b5900efe02bf315be7bd5.zip |
r22045: As Volker noticed, skip_string's last argument is
redundent. Remove it.
Jeremy.
Diffstat (limited to 'source/nmbd/nmbd_incomingdgrams.c')
-rw-r--r-- | source/nmbd/nmbd_incomingdgrams.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nmbd/nmbd_incomingdgrams.c b/source/nmbd/nmbd_incomingdgrams.c index ec8aa370ce3..4f3b3d3a7b4 100644 --- a/source/nmbd/nmbd_incomingdgrams.c +++ b/source/nmbd/nmbd_incomingdgrams.c @@ -435,7 +435,7 @@ void process_lm_host_announce(struct subnet_record *subrec, struct packet_struct if (!s) { goto done; } - s = skip_string(buf,len,s,1); + s = skip_string(buf,len,s); if (!s) { goto done; } @@ -574,7 +574,7 @@ static void send_backup_list_response(struct subnet_record *subrec, myname[15]='\0'; push_pstring_base(p, myname, outbuf); - p = skip_string(outbuf,sizeof(outbuf),p,1); + p = skip_string(outbuf,sizeof(outbuf),p); /* Look for backup browsers in this workgroup. */ @@ -610,7 +610,7 @@ static void send_backup_list_response(struct subnet_record *subrec, DEBUG(5,("send_backup_list_response: Adding server %s number %d\n", p, count)); - p = skip_string(outbuf,sizeof(outbuf),p,1); + p = skip_string(outbuf,sizeof(outbuf),p); } #endif |