projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ccf50
)
Coalesce two if statements that check for the same thing.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:51:05 +0000
(17:51 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:51:05 +0000
(17:51 +0200)
src/net_setup.c
patch
|
blob
|
history
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
0033c00
..
23dd252
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-962,9
+962,8
@@
static bool setup_myself(void) {
else if(!strcasecmp(type, "vde"))
devops = vde_devops;
#endif
- }
- if (type)
free(type);
+ }
get_config_bool(lookup_config(config_tree, "DeviceStandby"), &device_standby);