From 8990b13d2f576aac2e32cec91c0a70adf8b58539 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 2 Apr 2007 20:04:05 +0000 Subject: r22044: Remove the only skip_string(...,2) caller (This used to be commit 08ea2b83b26968990fce191cdafe26d3183518a6) --- source3/smbd/lanman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit