Permalink
Browse files

whoops, remove debug code

  • Loading branch information...
1 parent baad6cf commit 572b79ff89b1439df1433206c6827e1984c1cc05 @mariusae committed Mar 19, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 hstress.c
View
@@ -253,10 +253,6 @@ recvcb(struct evhttp_request *evreq, void *arg)
*/
if(evreq == nil || evreq->response_code < 0){
- if(evreq==nil)
- printf("evreq==nil\n");
- else
- printf("code:%d\n", evreq->response_code);
status = Error;
}
@@ -536,7 +532,7 @@ main(int argc, char **argv)
if(params.count > 0)
params.count /= nprocs;
-#if 1
+#if 0
event_init();
dispatch(mkhttp(), 1);
event_dispatch(); exit(0);

0 comments on commit 572b79f

Please sign in to comment.