git://git.onelab.eu
/
vsys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[vsys.git]
/
tests
/
vsys_conctest.c
diff --git
a/tests/vsys_conctest.c
b/tests/vsys_conctest.c
index
5c751a7
..
2d174a0
100644
(file)
--- a/
tests/vsys_conctest.c
+++ b/
tests/vsys_conctest.c
@@
-20,7
+20,7
@@
int main()
int count = 1;
struct timeval tv={.tv_sec=5,.tv_usec=0};
int count = 1;
struct timeval tv={.tv_sec=5,.tv_usec=0};
- while (count < 100000) {
+ while (count < 100000
0
) {
fd_set readSet;
int res;
int nlines=0;
fd_set readSet;
int res;
int nlines=0;
@@
-37,7
+37,6
@@
int main()
fprintf(stderr, "Waiting for %s (%s)\n", top_in_file,strerror(errno));
usleep (50);
}
fprintf(stderr, "Waiting for %s (%s)\n", top_in_file,strerror(errno));
usleep (50);
}
- printf("%d open\n",fd_in);
//printf("(1)");
if ((flag = fcntl(fd_out, F_GETFL)) == -1) {
//printf("(1)");
if ((flag = fcntl(fd_out, F_GETFL)) == -1) {