X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;h=7b7c80517f7dee6d5fa7c2a34cf4993cd0dbe28b;hp=c94e1624493e511b59c41c61c17205426b869754;hb=2b4a72bab701de1add388f89a92f1b7a358dab79;hpb=26adfd5d7e5bf7b0cb02ce28109919b9ed4b9ab2;ds=sidebyside diff --git a/dccp_send.c b/dccp_send.c index c94e1624..7b7c8051 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -104,14 +104,12 @@ static void dccp_shutdown_clients(void) static char *dccp_info(void) { - char *buf; int num_clients = 0; struct sender_client *sc, *tmp; list_for_each_entry_safe(sc, tmp, &clients, node) num_clients++; - buf = make_message("dccp connected clients: %d\n", num_clients); - return buf; + return make_message("dccp connected clients: %d\n", num_clients); } static char *dccp_help(void)