(net_http) Comment out debug logging

This commit is contained in:
twinaphex 2016-05-01 14:38:10 +02:00
parent 2931ae3d17
commit 8dd4333e16

View File

@ -124,6 +124,7 @@ error:
return -1; return -1;
} }
#if 0
static void net_http_send(int fd, bool * error, static void net_http_send(int fd, bool * error,
const char * data, size_t len) const char * data, size_t len)
{ {
@ -147,11 +148,18 @@ static void net_http_send(int fd, bool * error,
len -= thislen; len -= thislen;
} }
} }
#endif
static void net_http_send_str(int fd, bool *error, const char *text) static void net_http_send_str(int fd, bool *error, const char *text)
{ {
printf("%s",text); #if 0
printf("%s",text);
net_http_send(fd, error, text, strlen(text)); net_http_send(fd, error, text, strlen(text));
#else
(void)fd;
(void)error;
(void)text;
#endif
} }
static ssize_t net_http_recv(int fd, bool *error, static ssize_t net_http_recv(int fd, bool *error,