democlient: log input
This commit is contained in:
parent
dcb38ff637
commit
ab2d2a7484
|
@ -81,6 +81,12 @@ int main()
|
||||||
char code[4096] = {0};
|
char code[4096] = {0};
|
||||||
unencode(data, code);
|
unencode(data, code);
|
||||||
|
|
||||||
|
FILE *logfile = fopen("democlient.log", "at");
|
||||||
|
if (logfile != NULL) {
|
||||||
|
fprintf(logfile, "===========================================================\n%s\n", code);
|
||||||
|
fclose(logfile);
|
||||||
|
}
|
||||||
|
|
||||||
printf("Content-type: text/plain\n\n");
|
printf("Content-type: text/plain\n\n");
|
||||||
|
|
||||||
CppcheckExecutor cppcheckExecutor;
|
CppcheckExecutor cppcheckExecutor;
|
||||||
|
|
Loading…
Reference in New Issue