Added C test for WYPT command and fixed bugs in parseWYPT and sendWYPT.

This commit is contained in:
Jason Watkins
2015-04-09 10:24:30 -07:00
parent 1a83517bee
commit 6417822a75
3 changed files with 46 additions and 9 deletions

View File

@@ -216,8 +216,6 @@ PLUGIN_API int XPluginEnable(void)
sprintf(logmsg,"[EXEC] Debug Enabled (Verbosity: %i)",debugSwitch);
updateLog(logmsg,strlen(logmsg));
}
XPCSetMessage(20, 700, "TEST");
return 1;
}
@@ -844,6 +842,11 @@ int handleWYPT(char buf[], int len)
updateLog(logmsg, strlen(logmsg));
return -1;
}
else
{
sprintf(logmsg, "[WYPT] Performing operation %i", wypt.op);
updateLog(logmsg, strlen(logmsg));
}
switch (wypt.op)
{