Created
December 27, 2013 19:44
-
-
Save anonymous/8151643 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ui.c b/src/ui.c | |
index 167b3c2..35ecefe 100644 | |
--- a/src/ui.c | |
+++ b/src/ui.c | |
@@ -181,6 +181,11 @@ int BarUiPianoCall (BarApp_t * const app, PianoRequestType_t type, | |
PianoDestroyRequest (&req); | |
return 0; | |
} | |
+ FILE *debug = fopen ("debug.json", "a"); | |
+ assert (debug != NULL); | |
+ fputs (req.responseData, debug); | |
+ fputs ("\n", debug); | |
+ fclose (debug); | |
*pRet = PianoResponse (&app->ph, &req); | |
if (*pRet != PIANO_RET_CONTINUE_REQUEST) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment