Fix bugs in ChangeServiceConfig2W spotted by Casper and Royce
Modified: trunk/reactos/lib/advapi32/service/scm.c

Modified: trunk/reactos/lib/advapi32/service/scm.c
--- trunk/reactos/lib/advapi32/service/scm.c	2005-12-31 01:38:59 UTC (rev 20477)
+++ trunk/reactos/lib/advapi32/service/scm.c	2005-12-31 10:11:58 UTC (rev 20478)
@@ -97,8 +97,10 @@
     {
         case SERVICE_CONFIG_DESCRIPTION:
             lpInfoSize = sizeof(SERVICE_DESCRIPTION);
+            break;
         case SERVICE_CONFIG_FAILURE_ACTIONS:
             lpInfoSize = sizeof(SERVICE_FAILURE_ACTIONS);
+            break;
         default:
             DPRINT1("Unknown info level 0x%lx\n", dwInfoLevel);
             SetLastError(ERROR_INVALID_PARAMETER);
@@ -121,6 +123,8 @@
         SetLastError(dwError);
         return FALSE;
     }
+
+    return TRUE;
 }