mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
minor compilation and regresson fixes; from Frank Denis
svn:r952
This commit is contained in:
parent
4fe25cefb5
commit
ffb3966ec2
@ -28,6 +28,7 @@ endif
|
||||
regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
|
||||
regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
|
||||
-I$(top_srcdir)/include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
|
||||
regress_LDFLAGS = $(PTHREAD_CFLAGS)
|
||||
bench_SOURCES = bench.c
|
||||
bench_LDADD = ../libevent.la
|
||||
bench_cascade_SOURCES = bench_cascade.c
|
||||
|
@ -2014,6 +2014,11 @@ http_stream_in_cancel_test(void)
|
||||
static void
|
||||
http_connection_retry_done(struct evhttp_request *req, void *arg)
|
||||
{
|
||||
if (req == NULL) {
|
||||
fprintf(stderr, "FAILED (connection aborted)\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (req->response_code == HTTP_OK) {
|
||||
fprintf(stderr, "FAILED\n");
|
||||
exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user