diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-28 12:20:56 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-28 12:32:28 +0100 |
commit | 5686a6d91a2e1669dd9d00ba1faf493b0bb5ee90 (patch) | |
tree | 1223bb14ed3d6135dbf34d8955360cfb51d9f36a /source3 | |
parent | ddd3da8ab7b82a59b84338fb4814981d5ae2f8e4 (diff) | |
download | samba-5686a6d91a2e1669dd9d00ba1faf493b0bb5ee90.tar.gz samba-5686a6d91a2e1669dd9d00ba1faf493b0bb5ee90.tar.bz2 samba-5686a6d91a2e1669dd9d00ba1faf493b0bb5ee90.zip |
Fix async reading winbindd_response
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/wb_reqtrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/wb_reqtrans.c b/source3/lib/wb_reqtrans.c index a5adf8f108..65906dcb91 100644 --- a/source3/lib/wb_reqtrans.c +++ b/source3/lib/wb_reqtrans.c @@ -288,7 +288,7 @@ static ssize_t wb_resp_more(uint8_t *buf, size_t buflen, void *private_data) return -1; } } - return resp->length - 4; + return resp->length - buflen; } static void wb_resp_read_done(struct tevent_req *subreq) |