summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-15 20:00:41 +0000
committerJeremy Allison <jra@samba.org>1998-04-15 20:00:41 +0000
commiteb4fe9ecdf539209efab07dc992447ea7370cf93 (patch)
tree8cfeca86f3005e1e96b1b1a3ac8410f4ebbba0e5 /source/smbd/ipc.c
parent7ba2195cc1914fbdfdd30eff207ea55ffc3aeb02 (diff)
downloadsamba-eb4fe9ecdf539209efab07dc992447ea7370cf93.tar.gz
samba-eb4fe9ecdf539209efab07dc992447ea7370cf93.tar.xz
samba-eb4fe9ecdf539209efab07dc992447ea7370cf93.zip
ipc.c: Fix for printer queue spinning with Win95.
nmbd.c: Fix for always overwriting log despite append setting. smb.h: Addition of last time password changed entry to account info. smbpass.c: Changes to support last time changed field in smbpasswd file. smbpasswd.c: Changes to support last time changed field in smbpasswd file. util.c: Fix for always overwriting log despite append setting. Jeremy.
Diffstat (limited to 'source/smbd/ipc.c')
-rw-r--r--source/smbd/ipc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index e4ddcbec693..7cf4d6f5b84 100644
--- a/source/smbd/ipc.c
+++ b/source/smbd/ipc.c
@@ -330,8 +330,9 @@ static BOOL init_package(struct pack_desc* p, int count, int subcount)
p->subcount = 0;
p->curpos = p->format;
if (i > n) {
+ p->neededlen = i;
i = n = 0;
- p->errcode = NERR_BufTooSmall;
+ p->errcode = ERROR_MORE_DATA;
}
else
p->errcode = NERR_Success;