Ignore:
Timestamp:
08/24/10 15:00:17 (21 months ago)
Author:
jay
Message:

-- fixed bug in starting server normally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/win32service/svcconfig/src/svcconfig.cpp

    r86 r101  
    132132        { 
    133133            printf("QueryServiceConfig failed (%d)", dwError); 
     134            goto cleanup;  
    134135                        return false; 
    135             goto cleanup;  
    136136        } 
    137137    } 
     
    144144    { 
    145145        printf("QueryServiceConfig failed (%d)", GetLastError()); 
     146        goto cleanup; 
    146147                return false; 
    147         goto cleanup; 
    148148    } 
    149149 
     
    164164        { 
    165165            printf("QueryServiceConfig2 failed (%d)", dwError); 
     166            goto cleanup;  
    166167                        return false; 
    167             goto cleanup;  
    168168        } 
    169169    } 
     
    177177    { 
    178178        printf("QueryServiceConfig2 failed (%d)", GetLastError()); 
     179        goto cleanup; 
    179180                return false; 
    180         goto cleanup; 
    181181    } 
    182182  
     
    201201    LocalFree(lpsc);  
    202202    LocalFree(lpsd); 
    203         return true; 
     203        goto success; 
     204 
    204205cleanup: 
    205206    CloseServiceHandle(schService);  
    206207    CloseServiceHandle(schSCManager); 
     208 
     209success: 
     210        return true; 
    207211} 
    208212 
Note: See TracChangeset for help on using the changeset viewer.