- Fix a typo
authorCameron Gutman <aicommander@gmail.com>
Tue, 18 Aug 2009 19:04:51 +0000 (19:04 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 18 Aug 2009 19:04:51 +0000 (19:04 +0000)
svn path=/trunk/; revision=42771

reactos/dll/win32/msafd/misc/dllmain.c

index 489f4aa..55164bc 100644 (file)
@@ -346,7 +346,7 @@ DWORD MsafdReturnWithErrno(NTSTATUS Status,
         case STATUS_NO_MEMORY: /* Fall through to STATUS_INSUFFICIENT_RESOURCES */
         case STATUS_INSUFFICIENT_RESOURCES:
             DbgPrint("MSAFD: STATUS_NO_MEMORY/STATUS_INSUFFICIENT_RESOURCES\n");
-            *Errno = WSANOBUFS;
+            *Errno = WSAENOBUFS;
             break;
         case STATUS_INVALID_CONNECTION:
             DbgPrint("MSAFD: STATUS_INVALID_CONNECTION\n");