projects
/
remotetop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add .gitignore
[remotetop.git]
/
topd.c
diff --git
a/topd.c
b/topd.c
index
5dedced
..
870fbc1
100644
(file)
--- a/
topd.c
+++ b/
topd.c
@@
-143,9
+143,8
@@
main( int argc, char *argv[] ) {
}
}
}
- TC_deleteConnectionByN(&cfg.pool, 0);
- close( cfg.pool.conn[1]->fd );
- for(i=TC_SERVER_CONN_START; i<cfg.pool.number; i++)
+
+ for(i=cfg.pool.number-1; i>=0; i--)
TC_deleteConnectionByN(&cfg.pool,i);
}
}