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:
9528a63
)
This subtle pointer arithmetic thingy is (I'm very sure of it) the cause
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 25 Jun 2003 20:55:05 +0000
(20:55 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 25 Jun 2003 20:55:05 +0000
(20:55 +0000)
of the lingering connections problem. Hopefully it is fixed now...
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index b9a3c237f51d493dd08ebf1ae53cc4c2d9ca1a61..e4e8fad81c6bf6087b15f20dbcf229fa2324e06c 100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: connection.c,v 1.1.2.3
5 2002/09/10 22:12:33
guus Exp $
+ $Id: connection.c,v 1.1.2.3
6 2003/06/25 20:55:05
guus Exp $
*/
#include "config.h"
@@
-44,7
+44,7
@@
connection_t *broadcast;
int connection_compare(connection_t *a, connection_t *b)
{
- return
a -
b;
+ return
(void *)a - (void *)
b;
}
void init_connections(void)