X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frest-api.c;h=9a5c1844e79dc4ea4d8533f85cce4ab513983dbb;hb=fcfb3c0951b6e2e06e7bf282e867576d8abb00c4;hp=9f16a8fd3c3de2d6de820b1f48020c857afe6f65;hpb=1329992e8d922a55d5b55039ba8c700e7801dab5;p=src%2Fapp-framework-binder.git diff --git a/src/rest-api.c b/src/rest-api.c index 9f16a8fd..9a5c1844 100644 --- a/src/rest-api.c +++ b/src/rest-api.c @@ -283,7 +283,8 @@ STATIC int doPostIterate (void *cls, enum MHD_ValueKind kind, const char *key, AFB_request *request = (AFB_request*)postHandle->privatebuf; AFB_PostRequest postRequest; - fprintf (stderr, "postHandle key=%s filename=%s len=%d mime=%s\n", key, filename, size, mimetype); + if (verbose) + fprintf (stderr, "postHandle key=%s filename=%s len=%d mime=%s\n", key, filename, size, mimetype); // Create and Item value for Plugin API item.kind = kind;