summaryrefslogtreecommitdiff
path: root/net/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wget.c')
-rw-r--r--net/wget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wget.c b/net/wget.c
index 3c0fff488eb..428ee072330 100644
--- a/net/wget.c
+++ b/net/wget.c
@@ -214,7 +214,7 @@ static void tcp_stream_on_rcv_nxt_update(struct tcp_stream *tcp, u32 rx_bytes)
content_length = -1;
}
- if (content_length >= 0) {
+ if (content_length != -1) {
debug_cond(DEBUG_WGET,
"wget: Connected Len %lu\n",
content_length);