Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix segfault; closes #71

  • Loading branch information...
commit cb16211d4efe83b609406a9b087f596336d22bda 1 parent e93b1ca
Keith Rarick kr authored

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  sock-bsd.c
  2. +1 1  sock-linux.c
2  sock-bsd.c
@@ -72,7 +72,7 @@ sockwant(Socket *s, int rw)
72 72 void
73 73 sockmain()
74 74 {
75   - int i, r, n = 500;
  75 + int i, r, n = 1;
76 76 int64 e, t = nanoseconds();
77 77 struct kevent evs[n];
78 78
2  sock-linux.c
@@ -60,7 +60,7 @@ sockwant(Socket *s, int rw)
60 60 void
61 61 sockmain()
62 62 {
63   - int i, r, n = 500;
  63 + int i, r, n = 1;
64 64 int64 e, t = nanoseconds();
65 65 struct epoll_event evs[n];
66 66

0 comments on commit cb16211

Please sign in to comment.
Something went wrong with that request. Please try again.