{http,dccp}_send.c: Kill unused variable "self".
[paraslash.git] / http_send.c
index a19836af52101fa00aa2b9fdc2d5a52d3c91ec31..25d9ac18cefdd5353909864aa6ec1001061d9170 100644 (file)
@@ -72,7 +72,6 @@ struct http_client {
 };
 
 static int listen_fd = -1, numclients;
-static struct sender *self;
 
 
 static void http_shutdown_client(struct http_client *hc, const char *msg)
@@ -436,7 +435,6 @@ void http_send_init(struct sender *s)
        s->client_cmds[SENDER_ALLOW] = http_com_allow;
        s->client_cmds[SENDER_ADD] = NULL;
        s->client_cmds[SENDER_DELETE] = NULL;
-       self = s;
        acl_init(&http_acl, conf.http_access_arg, conf.http_access_given);
        if (!conf.http_no_autostart_given)
                http_open(); /* ignore errors */