X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_send.c;h=8b705d0d156b65f57caab561163b32c65fb77c92;hp=e8b22cf9958959b48d3d84855aeaf45cb1a5cf62;hb=9de1287d67c9562e9140c6dc7deb0c01c4e10cc0;hpb=645175864a613fc539f46ffa4028742aad3b1b30 diff --git a/http_send.c b/http_send.c index e8b22cf9..8b705d0d 100644 --- a/http_send.c +++ b/http_send.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2010 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -8,7 +8,6 @@ #include #include -#include #include #include "para.h" @@ -21,6 +20,7 @@ #include "http.h" #include "list.h" #include "send.h" +#include "sched.h" #include "vss.h" #include "close_on_fork.h" #include "net.h" @@ -251,6 +251,7 @@ void http_send_init(struct sender *s) s->pre_select = http_pre_select; s->post_select = http_post_select; s->shutdown_clients = http_shutdown_clients; + s->resolve_target = NULL; s->help = generic_sender_help; s->client_cmds[SENDER_ON] = http_com_on; s->client_cmds[SENDER_OFF] = http_com_off;