diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clirap2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c index 20efca3dc3..a08839726d 100644 --- a/source3/libsmb/clirap2.c +++ b/source3/libsmb/clirap2.c @@ -212,7 +212,7 @@ static size_t rap_getstringp(TALLOC_CTX *ctx, char *p, char **dest, char *r, uin } } pull_string_talloc(ctx,src,0,dest,src,len,STR_ASCII); - return 4; + return len; } static char *make_header(char *param, uint16 apinum, const char *reqfmt, const char *datafmt) |