summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-04-02 20:04:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:05 -0500
commit8990b13d2f576aac2e32cec91c0a70adf8b58539 (patch)
tree64f62046e41cbac46e7fe5e2ad19877b1f410e04
parent7371762dae1127117470c436ad0e3521f4bd4a35 (diff)
downloadsamba-8990b13d2f576aac2e32cec91c0a70adf8b58539.tar.gz
samba-8990b13d2f576aac2e32cec91c0a70adf8b58539.tar.bz2
samba-8990b13d2f576aac2e32cec91c0a70adf8b58539.zip
r22044: Remove the only skip_string(...,2) caller
(This used to be commit 08ea2b83b26968990fce191cdafe26d3183518a6)
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index f7fe965430..1f38f65f3e 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -2340,7 +2340,7 @@ static BOOL api_SetUserPassword(connection_struct *conn,uint16 vuid,
int *rdata_len,int *rparam_len)
{
char *np = get_safe_str_ptr(param,tpscnt,param,2);
- char *p = skip_string(param,tpscnt,np,2);
+ char *p = skip_string(param,tpscnt,skip_string(param,tpscnt,np,1),1);
fstring user;
fstring pass1,pass2;