summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-12 10:49:27 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-12 11:39:41 +0100
commit1829891391d978e8dd322cdbd3320e30e5c78b72 (patch)
tree2291be7c330c40b94691b1e9a54b3616a44ff100 /source3/libsmb
parenta051b400756fa9dc5f6d61b49b2886cf00be5081 (diff)
downloadsamba-1829891391d978e8dd322cdbd3320e30e5c78b72.tar.gz
samba-1829891391d978e8dd322cdbd3320e30e5c78b72.tar.bz2
samba-1829891391d978e8dd322cdbd3320e30e5c78b72.zip
s3: Fix bug 8009
Jeremy, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 12 11:39:41 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c
index a08839726d..20efca3dc3 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 len;
+ return 4;
}
static char *make_header(char *param, uint16 apinum, const char *reqfmt, const char *datafmt)