From dad90e82d3c7af95820b1c04903bed7074e2b175 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 25 Apr 2000 20:17:44 +0000 Subject: [PATCH] Fixed typo and removed some unnecessary variables. --- src/net.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/net.c b/src/net.c index 1130fa99..ceda90b8 100644 --- a/src/net.c +++ b/src/net.c @@ -185,9 +185,8 @@ cp } /* Remove a queue element */ -void del_queue(packet_queue_t **q, packet_element_t *e) +void del_queue(packet_queue_t **q, queue_element_t *e) { - queue_element_t *p, *n; cp free(e->packet); @@ -230,7 +229,7 @@ cp void flush_queue(conn_list_t *cl, packet_queue_t **pq, int (*function)(conn_list_t*,void*)) { - queue_element_t *p, *prev = NULL, *next = NULL; + queue_element_t *p, *next = NULL; cp for(p = (*pq)->head; p != NULL; ) { -- 2.39.5