Skip to content

Commit d213bf4

Browse files
committed
Debug Log External File Handler (Header + Body)
1 parent 8008016 commit d213bf4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/webui.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4218,6 +4218,12 @@ static int _webui_external_file_handler(_webui_window_t* win, struct mg_connecti
42184218
);
42194219
#endif
42204220

4221+
#ifdef WEBUI_LOG
4222+
printf("---[ External File Handler ]--------\n");
4223+
printf("%s\n", (char*)callback_resp);
4224+
printf("------------------------------------\n");
4225+
#endif
4226+
42214227
// Send user data (Header + Body)
42224228
mg_write(client, callback_resp, length);
42234229

0 commit comments

Comments
 (0)