From f4ae5a6e389aa64782986ba6eed4bb1e31f1cb71 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 8 Sep 2000 00:28:07 +0000 Subject: 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) --- source3/include/smb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/smb.h') 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 */ -- cgit