From 7ee0e41ae6c4618a62e25a4f086e27697f3545c6 Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 10 Mar 2006 20:18:08 +0100 Subject: [PATCH] Rename some local variables in command.c --- command.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/command.c b/command.c index 0fc385e9..6c895e3b 100644 --- a/command.c +++ b/command.c @@ -559,15 +559,15 @@ static int com_si(int fd, int argc, __unused char **argv) { int i, ret; char *ut; - char *dbtools = NULL, *sender_info = NULL, *sender_list = NULL; + char *selectors = NULL, *sender_info = NULL, *sender_list = NULL; struct mallinfo mi = mallinfo(); if (argc) return -E_COMMAND_SYNTAX; mmd_lock(); for (i = 0; dblist[i].name; i++) { - dbtools = para_strcat(dbtools, dblist[i].name); - dbtools = para_strcat(dbtools, " "); + selectors = para_strcat(selectors, dblist[i].name); + selectors = para_strcat(selectors, " "); } for (i = 0; senders[i].name; i++) { char *info = senders[i].info(); @@ -593,14 +593,14 @@ static int com_si(int fd, int argc, __unused char **argv) mmd->num_commands, mmd->num_connects, conf.loglevel_arg, - dbtools, + selectors, SUPPORTED_AUDIO_FORMATS, sender_list, sender_info ); mmd_unlock(); free(ut); - free(dbtools); + free(selectors); free(sender_list); free(sender_info); return ret; @@ -853,12 +853,12 @@ static int com_chs(int fd, int argc, char **argv) int i, ret; if (!argc) { - char *dbtool; + char *selector; mmd_lock(); - dbtool = para_strdup(dblist[mmd->dbt_num].name); + selector = para_strdup(dblist[mmd->dbt_num].name); mmd_unlock(); - ret = send_va_buffer(fd, "%s\n", dbtool); - free(dbtool); + ret = send_va_buffer(fd, "%s\n", selector); + free(selector); return ret; } for (i = 0; dblist[i].name; i++) { -- 2.39.5