X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.c;h=0b06e5c00d852206df6971d52c8d06c2e357d99e;hp=3943d6dce76ad83ba0eed281e9756d8f58904e6e;hb=463b82370e584a8b871311583bf9657cadd1b6cc;hpb=9d24300965cbcdfddb9f63b6bc8018da50d7d8e1 diff --git a/command.c b/command.c index 3943d6dc..0b06e5c0 100644 --- a/command.c +++ b/command.c @@ -227,7 +227,7 @@ static int check_sender_args(struct command_context *cc, struct lls_parse_result *lpr, struct sender_command_data *scd) { int i, ret; - const char *subcmds[] = {SENDER_SUBCOMMANDS}; + const char * const subcmds[] = {SENDER_SUBCOMMANDS}; const char *arg; char *errctx; unsigned num_inputs = lls_num_inputs(lpr); @@ -457,10 +457,9 @@ EXPORT_SERVER_CMD_HANDLER(version); ITEM(NUM_CHUNKS) \ ITEM(AMPLIFICATION) \ -/** - * Write a list of audio-file related status items with empty values. - * - * This is used by vss when currently no audio file is open. +/* + * Create a set of audio-file related status items with empty values. These are + * written to stat clients when no audio file is open. */ static unsigned empty_status_items(bool parser_friendly, char **result) {