https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1c1c4e5d945245c77994d6157cc1b3392c4fcf2a

commit 1c1c4e5d945245c77994d6157cc1b3392c4fcf2a
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Wed Jan 15 08:43:57 2025 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Fri Jan 17 12:54:29 2025 +0200

    [WKSSVC] Fix returned error value in NetrWkstaUserGetInfo
---
 base/services/wkssvc/rpcserver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/base/services/wkssvc/rpcserver.c b/base/services/wkssvc/rpcserver.c
index b74f3bc8fba..a8a5abc2312 100644
--- a/base/services/wkssvc/rpcserver.c
+++ b/base/services/wkssvc/rpcserver.c
@@ -845,6 +845,7 @@ NetrWkstaUserGetInfo(
 
         default:
             ERR("\n");
+            dwResult = ERROR_INVALID_LEVEL;
             break;
     }
 

Reply via email to