Debug print only in Debug builds
This commit is contained in:
parent
c9c21105f6
commit
274f0af887
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,7 @@ int main(int argc, char **argv) {
|
|||
continue;
|
||||
}
|
||||
// DEBUG print received buf.
|
||||
#ifndef NDEBUG
|
||||
for (unsigned int idx = 0;
|
||||
idx < C_SIMPLE_HTTP_RECV_BUF_SIZE && idx < read_ret;
|
||||
++idx) {
|
||||
|
@ -139,6 +140,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
}
|
||||
puts("");
|
||||
#endif
|
||||
|
||||
size_t response_size = 0;
|
||||
enum C_SIMPLE_HTTP_ResponseCode response_code;
|
||||
|
|
Loading…
Reference in a new issue