summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-08 19:12:22 +0000
committerJeremy Allison <jra@samba.org>1998-04-08 19:12:22 +0000
commit1af95effe96284c30c0f3f1782677e8f1873ceca (patch)
tree332327c9b009be89b1452498731994f66395b916 /source3
parentdb55744684ba35e2c1c9763da56353d82a9252bc (diff)
downloadsamba-1af95effe96284c30c0f3f1782677e8f1873ceca.tar.gz
samba-1af95effe96284c30c0f3f1782677e8f1873ceca.tar.bz2
samba-1af95effe96284c30c0f3f1782677e8f1873ceca.zip
Fix to stop Windows 95 spinning on print queue requests when it
gets an error message it doesn't understand. Jeremy. (This used to be commit 838e2fe2f76b20f34309c2322e3bd60817fef1fd)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index f38a76d74a..6d0a8d55dd 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -456,7 +456,7 @@ va_dcl
p->usedlen += needed;
}
else {
- if (p->errcode == NERR_Success) p->errcode = NERR_BufTooSmall;
+ if (p->errcode == NERR_Success) p->errcode = ERROR_MORE_DATA;
}
return 1;
}