projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use access() instead of stat() for checking whether scripts exist.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
66eb059
..
283ebd7
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-37,7
+37,7
@@
connection_t *broadcast;
static int connection_compare(const connection_t *a, const connection_t *b)
{
- return a
- b
;
+ return a
< b ? -1 : a == b ? 0 : 1
;
}
void init_connections(void)