projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b72422
)
Fixed typo and removed some unnecessary variables.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 25 Apr 2000 20:17:44 +0000
(20:17 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 25 Apr 2000 20:17:44 +0000
(20:17 +0000)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index 1130fa99650d595860709c7d38270348d90eb587..ceda90b837ecd5e1b2651a235fa49d844acbf3c1 100644
(file)
--- 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; )
{