diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-07-30 15:47:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-07-30 15:47:30 +0000 |
commit | 2b4b7b4e1adbd2aac9aab89b28df82fc145a6d87 (patch) | |
tree | 179251b54f35c910b512338d2b420bcd7fcd3763 /source3/include/smb.h | |
parent | a7ed8cd8ac3e1c0f8cd68bed654ae21cb3acde12 (diff) | |
download | samba-2b4b7b4e1adbd2aac9aab89b28df82fc145a6d87.tar.gz samba-2b4b7b4e1adbd2aac9aab89b28df82fc145a6d87.tar.bz2 samba-2b4b7b4e1adbd2aac9aab89b28df82fc145a6d87.zip |
fix a bug that we've had for a long time where we don't handle EOF
properly from clients, and end up looping like mad.
At least I _hope_ this is fixed.
(This used to be commit a7c7d7afe2ef81f4a74584ce9b71e54442f7e484)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 05924de35e..317f31b19e 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -111,11 +111,10 @@ EXTERN int syslog_level; #define DEBUG(level,body) ((DEBUGLEVEL>=(level))? (syslog_level = (level), Debug1 body):0) #endif -/* this defines the error codes that receive_smb can put in smberrcode */ -#define SMBERR_OK 0 -#define SMBERR_TIMEOUT 1 -#define SMBERR_EOF 2 -#define SMBERR_ERROR 3 +/* this defines the error codes that receive_smb can put in smb_read_error */ +#define READ_TIMEOUT 1 +#define READ_EOF 2 +#define READ_ERROR 3 #define DIR_STRUCT_SIZE 43 |