Added C test for WYPT command and fixed bugs in parseWYPT and sendWYPT.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user