]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
Add sender subcommand "status".
[paraslash.git] / http_send.c
index 3e9c95393c5120c82bd91cc4bd84e5ea9c56f60c..aba61e9de04da67f0c022a751f3caa4689326354 100644 (file)
@@ -235,9 +235,9 @@ static int http_com_allow(struct sender_command_data *scd)
        return 1;
 }
 
-static char *http_info(void)
+static char *http_status(void)
 {
-       return get_sender_info(hss, "http");
+       return generic_sender_status(hss, "http");
 }
 
 /**
@@ -251,7 +251,7 @@ static char *http_info(void)
 void http_send_init(struct sender *s)
 {
        int ret;
-       s->info = http_info;
+       s->status = http_status;
        s->send = http_send;
        s->pre_select = http_pre_select;
        s->post_select = http_post_select;