diff options
author | Jeremy Allison <jra@samba.org> | 2000-09-08 00:28:07 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-09-08 00:28:07 +0000 |
commit | a87f6277b1faa1ea492f31add4ce33556bdf3695 (patch) | |
tree | 4ffc421cccab1b19205249ef918802c63f275a51 /source/include/smb.h | |
parent | 4d792e6bcb7bef640c2c4e3054ed8839d8fc86f4 (diff) | |
download | samba-a87f6277b1faa1ea492f31add4ce33556bdf3695.tar.gz samba-a87f6277b1faa1ea492f31add4ce33556bdf3695.tar.xz samba-a87f6277b1faa1ea492f31add4ce33556bdf3695.zip |
Win32 API is explicit that EnumPrinterData returns ERROR_MORE_DATA not
ERROR_INSUFICIENT_BUFFER when working out what space is needed. This fix
gives us the same return that WinNT does.
Jeremy.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r-- | source/include/smb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index 414ac930bbe..c8696503738 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -180,6 +180,7 @@ implemented */ #define ERROR_INSUFFICIENT_BUFFER (122) #define ERROR_INVALID_NAME (123) #define ERROR_INVALID_LEVEL (124) +#define ERROR_MORE_DATA (234) #define ERROR_NO_MORE_ITEMS (259) #define ERROR_EAS_DIDNT_FIT (275) /* Extended attributes didn't fit */ #define ERROR_EAS_NOT_SUPPORTED (282) /* Extended attributes not supported */ |