mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +03:00
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit 63a669475b0ea319da12a87ee4635b1d071ff29f)
This commit is contained in:
parent
ed961ddf44
commit
2eb7a80a46
@ -1888,7 +1888,7 @@ int reply_writebraw(connection_struct *conn, char *inbuf,char *outbuf, int size,
|
||||
DEBUG(3,("writebraw1 fnum=%d start=%.0f num=%d wrote=%d sync=%d\n",
|
||||
fsp->fnum, (double)startpos, (int)numtowrite, (int)nwritten, (int)write_through));
|
||||
|
||||
if (nwritten < numtowrite) {
|
||||
if (nwritten < (ssize_t)numtowrite) {
|
||||
END_PROFILE(SMBwritebraw);
|
||||
return(UNIXERROR(ERRHRD,ERRdiskfull));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user