Ignore:
Timestamp:
2009-09-18T20:20:30+12:00 (15 years ago)
Author:
ak19
Message:

Now returns negative values on input error (wrong number of arguments) in the C++ files that start and stop the apache webserver on Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/w32apachectl/starthttpd.cpp

    r19345 r20638  
    5757 
    5858  if (f) {
    59     // The process was sucessfully spawned, wait for it to terminate
     59    // The process was successfully spawned, wait for it to terminate
    6060    CloseHandle(pi.hThread);
    6161    WaitForSingleObject(pi.hProcess, INFINITE);
     
    8181    MessageBox(NULL, "Usage: starthttpd.exe <event-name> <httpd.exe program path>",
    8282           TEXT("Error"), MB_OK);
    83     return(1);
     83    return(-1);
    8484  }
    8585 
Note: See TracChangeset for help on using the changeset viewer.