summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap2.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-13 09:48:08 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-13 10:33:25 +0100
commitf84d439ff6e20859438506b31dd08828f6becbb7 (patch)
tree866e0a678b20f19bebb6f6060728f0c8dc0637bf /source3/libsmb/clirap2.c
parent1829891391d978e8dd322cdbd3320e30e5c78b72 (diff)
downloadsamba-f84d439ff6e20859438506b31dd08828f6becbb7.tar.gz
Revert "s3: Fix bug 8009"
This reverts commit 1829891391d978e8dd322cdbd3320e30e5c78b72. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 13 10:33:25 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb/clirap2.c')
-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 20efca3dc32..a08839726d9 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)