Changeset 101 for trunk/sources/win32service/svcconfig/src/svcconfig.cpp
- Timestamp:
- 08/24/10 15:00:17 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/win32service/svcconfig/src/svcconfig.cpp
r86 r101 132 132 { 133 133 printf("QueryServiceConfig failed (%d)", dwError); 134 goto cleanup; 134 135 return false; 135 goto cleanup;136 136 } 137 137 } … … 144 144 { 145 145 printf("QueryServiceConfig failed (%d)", GetLastError()); 146 goto cleanup; 146 147 return false; 147 goto cleanup;148 148 } 149 149 … … 164 164 { 165 165 printf("QueryServiceConfig2 failed (%d)", dwError); 166 goto cleanup; 166 167 return false; 167 goto cleanup;168 168 } 169 169 } … … 177 177 { 178 178 printf("QueryServiceConfig2 failed (%d)", GetLastError()); 179 goto cleanup; 179 180 return false; 180 goto cleanup;181 181 } 182 182 … … 201 201 LocalFree(lpsc); 202 202 LocalFree(lpsd); 203 return true; 203 goto success; 204 204 205 cleanup: 205 206 CloseServiceHandle(schService); 206 207 CloseServiceHandle(schSCManager); 208 209 success: 210 return true; 207 211 } 208 212
Note: See TracChangeset
for help on using the changeset viewer.
