summaryrefslogtreecommitdiffstats
path: root/src/bencoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bencoding.c')
-rw-r--r--src/bencoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bencoding.c b/src/bencoding.c
index e456486..a46380e 100644
--- a/src/bencoding.c
+++ b/src/bencoding.c
@@ -513,7 +513,7 @@ struct bencoding * bdecode_safe (const char * s, int len, enum benc opts, unsign
return NULL;
default:
if (!(s[0] >= '0' && s[0] <= '9')) { /* not a string. not checking this would allow DoS for parsing "lx" */
- fprintf(stderr, "bencoding: unknown type %d - %c\n", s[0], s[0]);
+ // fprintf(stderr, "bencoding: unknown type %d - %c\n", s[0], s[0]);
free(b);
return NULL;
}