fix network
Modified: trunk/reactos/lib/newdev/newdev.c

Modified: trunk/reactos/lib/newdev/newdev.c
--- trunk/reactos/lib/newdev/newdev.c	2005-10-25 18:08:13 UTC (rev 18774)
+++ trunk/reactos/lib/newdev/newdev.c	2005-10-25 19:54:15 UTC (rev 18775)
@@ -59,7 +59,7 @@
 		&regDataType,
 		NULL, 0,
 		&requiredSize);
-	if (!ret && GetLastError() == ERROR_MORE_DATA && regDataType == REG_SZ)
+	if (!ret && GetLastError() == ERROR_INSUFFICIENT_BUFFER && regDataType == REG_SZ)
 	{
 		buffer = HeapAlloc(GetProcessHeap(), 0, requiredSize);
 		if (!buffer)