Revert "fixed initialization of pollfd"

This reverts commit 319e0ac8ce.
This commit is contained in:
thorkill 2015-06-30 18:09:02 +02:00
parent fe99eb02df
commit 84ede57e52

View file

@ -139,7 +139,7 @@ int main(int argc, char *argv[]) {
return 1;
}
struct pollfd pfd[2] = {{fd[0], POLLIN, 0}, {fd[1], POLLIN, 0}};
struct pollfd pfd[2] = {{fd[0], POLLIN, NULL}, {fd[1], POLLIN, NULL}};
fprintf(stderr, "SPTPS/TCP authenticate for %lg seconds: ", duration);
for(clock_start(); clock_countto(duration);) {