diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c index f38a76d74ad..6d0a8d55dd8 100644 --- a/source/smbd/ipc.c +++ b/source/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; }