Mercurial > trustbridge
diff common/listutil.c @ 626:f595fcbe3e76
Replace "normal printfs" with DEBUG / ERROR printf macros
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 20 Jun 2014 14:29:05 +0200 |
parents | 17e1c8f37d72 |
children | aa48ea7ead1f |
line wrap: on
line diff
--- a/common/listutil.c Fri Jun 20 12:53:16 2014 +0200 +++ b/common/listutil.c Fri Jun 20 14:29:05 2014 +0200 @@ -168,7 +168,7 @@ ret = pk_parse_public_key(&pub_key_ctx, public_key_pem, public_key_pem_size); if (ret != 0) { - printf("pk_parse_public_key failed with -0x%04x\n\n", -ret); + ERRORPRINTF ("pk_parse_public_key failed with -0x%04x\n\n", -ret); pk_free(&pub_key_ctx); return ret; } @@ -177,7 +177,7 @@ signature, sig_size); if (ret != 0) { - printf("pk_verify failed with -0x%04x\n\n", -ret); + ERRORPRINTF ("pk_verify failed with -0x%04x\n\n", -ret); } pk_free(&pub_key_ctx); @@ -249,7 +249,7 @@ if (!data || !size) { - printf ("Invalid call to get_certs_to_remove \n"); + ERRORPRINTF ("Invalid call to get_certs_to_remove \n"); return NULL; }