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 | f4ae5a6e389aa64782986ba6eed4bb1e31f1cb71 (patch) | |
tree | 521fc8b1a09e7a706974b5fee8016d4b68f5cd87 /source3/include/smb.h | |
parent | 8808c4e6c8da17dbb6f173d4694aa58e4443e893 (diff) | |
download | samba-f4ae5a6e389aa64782986ba6eed4bb1e31f1cb71.tar.gz samba-f4ae5a6e389aa64782986ba6eed4bb1e31f1cb71.tar.bz2 samba-f4ae5a6e389aa64782986ba6eed4bb1e31f1cb71.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.
(This used to be commit a87f6277b1faa1ea492f31add4ce33556bdf3695)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 414ac930bb..c869650373 100644 --- a/source3/include/smb.h +++ b/source3/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 */ |