pauseSim should be returning int on error

This commit is contained in:
Chris Teubert
2015-05-04 10:30:10 -07:00
parent 23ee994b8d
commit c44f521842

View File

@@ -268,7 +268,7 @@ int pauseSim(XPCSocket sock, char pause)
if (pause < 0 || pause > 2) if (pause < 0 || pause > 2)
{ {
printError("pauseSim", "Invalid argument: %i", pause); printError("pauseSim", "Invalid argument: %i", pause);
return; return -2;
} }
// Setup command // Setup command