Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/libpiano/request.c b/src/libpiano/request.c
- index 35124f4..ac38516 100644
- --- a/src/libpiano/request.c
- +++ b/src/libpiano/request.c
- @@ -497,6 +497,7 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
- /* json to string */
- jsonSendBuf = json_object_to_json_string (j);
- + printf ("%s\n", jsonSendBuf);
- if (encrypted) {
- if ((req->postData = PianoEncryptString (ph->partner.out,
- jsonSendBuf)) == NULL) {
- diff --git a/src/libpiano/response.c b/src/libpiano/response.c
- index 73b223a..7bd35cd 100644
- --- a/src/libpiano/response.c
- +++ b/src/libpiano/response.c
- @@ -85,6 +85,7 @@ PianoReturn_t PianoResponse (PianoHandle_t *ph, PianoRequest_t *req) {
- assert (ph != NULL);
- assert (req != NULL);
- + printf ("%s\n", req->responseData);
- j = json_tokener_parse (req->responseData);
- status = json_object_object_get (j, "stat");
Add Comment
Please, Sign In to add comment