]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
Merge branch 'refs/heads/t/kill_usleep'
[paraslash.git] / dccp_send.c
index 92a22162954ee030353017101803f1d9ef4a53bf..4eda3b94c9b9f44c2c062dc351b7b28705ee83d9 100644 (file)
@@ -197,13 +197,13 @@ static const char *dccp_list_available_ccids(void)
        return list;
 }
 
-static char *dccp_info(void)
+static char *dccp_status(void)
 {
-       char *info = get_sender_info(dss, "dccp");
-       char *ret  = make_message("%s" "\tsupported ccids: %s\n",
-                                 info, dccp_list_available_ccids());
-       free(info);
-       return ret;
+       char *status = generic_sender_status(dss, "dccp");
+       char *result = make_message("%ssupported ccids: %s\n", status,
+               dccp_list_available_ccids());
+       free(status);
+       return result;
 }
 
 /**
@@ -218,7 +218,7 @@ void dccp_send_init(struct sender *s)
 {
        int ret, k, n;
 
-       s->info = dccp_info;
+       s->status = dccp_status;
        s->send = NULL;
        s->pre_select = dccp_pre_select;
        s->post_select = dccp_post_select;