diff options
author | Jeremy Allison <jra@samba.org> | 1998-01-10 08:11:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-01-10 08:11:15 +0000 |
commit | 2a75519b8592948b2f35ecca040bd3f88bf89be5 (patch) | |
tree | 5f99d446626855cb5640d5f054d2f78078feef62 /source/smbd/ipc.c | |
parent | 4c8af3bc9f43b2427609cbeecb7940b1753a9a1c (diff) | |
download | samba-2a75519b8592948b2f35ecca040bd3f88bf89be5.tar.gz samba-2a75519b8592948b2f35ecca040bd3f88bf89be5.tar.xz samba-2a75519b8592948b2f35ecca040bd3f88bf89be5.zip |
ipc.c: Fixed problem where we were not returning 'buffer too small'
when NT sends up a mdrcnt of zero.
Jeremy.
Diffstat (limited to 'source/smbd/ipc.c')
-rw-r--r-- | source/smbd/ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c index 994e0b293b7..ee2aec8c220 100644 --- a/source/smbd/ipc.c +++ b/source/smbd/ipc.c @@ -283,8 +283,8 @@ static BOOL init_package(struct pack_desc* p, int count, int subcount) i = n = 0; p->errcode = NERR_BufTooSmall; } - - p->errcode = NERR_Success; + else + p->errcode = NERR_Success; p->buflen = i; n -= i; p->stringbuf = p->base + i; |