projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unnecessary parentheses from sizeof, apply sizeof to variables instead of...
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
b811754
..
659b078
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-203,7
+203,7
@@
static void timeout_handler(int fd, short events, void *event) {
void handle_meta_connection_data(int fd, short events, void *data) {
connection_t *c = data;
int result;
- socklen_t len = sizeof
(result)
;
+ socklen_t len = sizeof
result
;
if(c->status.connecting) {
c->status.connecting = false;