Module: wine Branch: master Commit: 817265a74e46bc51b92e711f3b42ed60d826a01b URL: http://source.winehq.org/git/wine.git/?a=commit;h=817265a74e46bc51b92e711f3b...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Sun Jan 14 13:23:45 2007 +0100
mpr: Fix typo (Coverity).
---
dlls/mpr/wnet.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mpr/wnet.c b/dlls/mpr/wnet.c index c894c55..3f57caf 100644 --- a/dlls/mpr/wnet.c +++ b/dlls/mpr/wnet.c @@ -819,7 +819,7 @@ DWORD WINAPI WNetEnumResourceA( HANDLE h ret = WN_BAD_POINTER; else if (!lpcCount) ret = WN_BAD_POINTER; - if (!lpBuffer) + else if (!lpBuffer) ret = WN_BAD_POINTER; else if (!lpBufferSize) ret = WN_BAD_POINTER;