chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: Use new separate auto-version tool.
[tripe]
/
server
/
tun-unet.c
diff --git
a/server/tun-unet.c
b/server/tun-unet.c
index 5ebcc7905ca7c244f5e88cbbf1bdc1b537906e03..2d11ca0f8e3480057b1e1167c58a59f6baaf81fe 100644
(file)
--- a/
server/tun-unet.c
+++ b/
server/tun-unet.c
@@
-162,11
+162,7
@@
static void t_inject(tunnel *t, buf *b)
*/
static void t_destroy(tunnel *t)
-{
- sel_rmfile(&t->f);
- close(t->f.fd);
- DESTROY(t);
-}
+ { sel_rmfile(&t->f); close(t->f.fd); DESTROY(t); }
const tunnel_ops tun_unet = {
"unet",