From b6c202c4c80c5cc70fd0bf13f187d3dfb5736ae4 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 15 Sep 2025 22:37:22 +0200 Subject: [PATCH] [NETSH] Set proper error code for internal commands --- base/applications/network/netsh/context.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/base/applications/network/netsh/context.c b/base/applications/network/netsh/context.c index 5c6dfcefac6..55585fb6baa 100644 --- a/base/applications/network/netsh/context.c +++ b/base/applications/network/netsh/context.c @@ -321,7 +321,7 @@ UpCommand( if (pCurrentContext != pRootContext) pCurrentContext = pCurrentContext->pParentContext; - return 0; + return ERROR_SUCCESS; } @@ -337,7 +337,7 @@ ExitCommand( BOOL *pbDone) { *pbDone = TRUE; - return 0; + return ERROR_SUCCESS; } @@ -352,7 +352,7 @@ RemCommand( LPCVOID pvData, BOOL *pbDone) { - return 0; + return ERROR_SUCCESS; } @@ -391,7 +391,7 @@ PopdCommand( HeapFree(GetProcessHeap(), 0, pEntry); - return 0; + return ERROR_SUCCESS; } @@ -427,7 +427,7 @@ PushdCommand( pContextStackHead = pEntry; } - return 0; + return ERROR_SUCCESS; }