do not print warnings for perfectly expected status codes

This commit is contained in:
Christian Grothoff 2017-02-08 08:02:01 +01:00
parent e9cdf641de
commit 3592083874
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1590,6 +1590,12 @@ deposit_wtid_cb (void *cls,
} }
} }
break; break;
case MHD_HTTP_ACCEPTED:
/* allowed, nothing to check here */
break;
case MHD_HTTP_NOT_FOUND:
/* allowed, nothing to check here */
break;
default: default:
GNUNET_break (0); GNUNET_break (0);
break; break;
@ -3143,7 +3149,7 @@ main (int argc,
if (10 == iter) if (10 == iter)
{ {
fprintf (stderr, fprintf (stderr,
"Failed to launch `taler-exchange-httpd' (or `wget')\n"); "Failed to launch `taler-exchange-httpd' (or `wget')\n");
GNUNET_OS_process_kill (exchanged, GNUNET_OS_process_kill (exchanged,
SIGTERM); SIGTERM);
GNUNET_OS_process_wait (exchanged); GNUNET_OS_process_wait (exchanged);