X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_send.c;h=086b600f0d043f928e6c2c0f71afa65104045f00;hp=e8b22cf9958959b48d3d84855aeaf45cb1a5cf62;hb=fa578bf1d070161cafcbcc69ca7b810414ee1a4b;hpb=75c441f2f8de1733cfdaaae2acd8a8d5b7900a7d diff --git a/http_send.c b/http_send.c index e8b22cf9..086b600f 100644 --- a/http_send.c +++ b/http_send.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2010 Andre Noll + * Copyright (C) 2005-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -10,6 +10,7 @@ #include #include #include +#include #include "para.h" #include "error.h" @@ -251,6 +252,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;