summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-09 01:02:05 +0200
committerTom Rini <trini@konsulko.com>2024-10-15 11:38:44 -0600
commitea2515fdb84ab5dba7b4e013f061ca07edf174df (patch)
tree024584fde9b8df8506edb151cce18ed38a4a2750
parent8014fabb5d587d31c9ac058116a93eed7369a7d6 (diff)
net: correct wget_connected debug messages
* Remove duplicate debug message in wget_connected() * Correct typo 'Connctd' Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--net/wget.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/wget.c b/net/wget.c
index c9b8fc9109c..635f82efbb3 100644
--- a/net/wget.c
+++ b/net/wget.c
@@ -248,7 +248,7 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
wget_send(action, tcp_seq_num, tcp_ack_num, len);
} else {
debug_cond(DEBUG_WGET,
- "wget: Connctd pkt %p hlen %x\n",
+ "wget: Connected Pkt %p hlen %x\n",
pkt, hlen);
pos = strstr((char *)pkt, content_len);
@@ -273,10 +273,6 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
}
}
- debug_cond(DEBUG_WGET,
- "wget: Connected Pkt %p hlen %x\n",
- pkt, hlen);
-
for (i = 0; i < pkt_q_idx; i++) {
int err;
@@ -288,7 +284,7 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
pkt_q[i].len);
unmap_sysmem(ptr1);
debug_cond(DEBUG_WGET,
- "wget: Connctd pkt Q %p len %x\n",
+ "wget: Conncted pkt Q %p len %x\n",
pkt_q[i].pkt, pkt_q[i].len);
if (err) {
wget_loop_state = NETLOOP_FAIL;