projects
/
remotetop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eacd6cb
)
Nice cleanup on exit
author
teodor
<teodor>
Thu, 29 Nov 2007 19:42:47 +0000
(19:42 +0000)
committer
teodor
<teodor>
Thu, 29 Nov 2007 19:42:47 +0000
(19:42 +0000)
topd.c
patch
|
blob
|
history
diff --git
a/topd.c
b/topd.c
index
5dedced
..
61a2245
100644
(file)
--- a/
topd.c
+++ b/
topd.c
@@
-143,8
+143,9
@@
main( int argc, char *argv[] ) {
}
}
}
+
+ TC_deleteConnectionByN(&cfg.pool, 1);
TC_deleteConnectionByN(&cfg.pool, 0);
- close( cfg.pool.conn[1]->fd );
for(i=TC_SERVER_CONN_START; i<cfg.pool.number; i++)
TC_deleteConnectionByN(&cfg.pool,i);
}