diff options
author | 2016-04-14 13:27:41 +0200 | |
---|---|---|
committer | 2016-04-14 13:27:41 +0200 | |
commit | 37d39868e7eed7ff3c8420dec0e3e82caa7cd868 (patch) | |
tree | 60bdf39d179152df270023093e918baac9fc6c82 /src/afb-hsrv.c | |
parent | d3a68744e728b77d2c37f51e865f2f49e533b6f7 (diff) |
removes use of printf
Change-Id: I635e236e102837256c77fd4379ef9b11d850a4de
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hsrv.c')
-rw-r--r-- | src/afb-hsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c index 2c303d3c..73ad6a60 100644 --- a/src/afb-hsrv.c +++ b/src/afb-hsrv.c @@ -336,7 +336,7 @@ int afb_hsrv_start(struct afb_hsrv *hsrv, uint16_t port, unsigned int connection MHD_OPTION_END); /* options-end */ if (httpd == NULL) { - printf("Error: httpStart invalid httpd port: %d", (int)port); + fprintf(stderr, "Error: httpStart invalid httpd port: %d", (int)port); return 0; } |