gui: Rename client_cmd_cmdline() to para_cmd().
authorAndre Noll <maan@systemlinux.org>
Tue, 13 Mar 2012 21:19:25 +0000 (22:19 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Mar 2012 20:07:15 +0000 (21:07 +0100)
The new name is shorter to type and it matches the naming convention
of the other command dispatchers, external_cmd() and display_cmd().

gui.c

diff --git a/gui.c b/gui.c
index 870e976..48d4b51 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1072,7 +1072,7 @@ static void send_output(void)
        print_in_bar(COLOR_MSG, " ");
 }
 
-static void client_cmd_cmdline(char *cmd)
+static void para_cmd(char *cmd)
 {
        int ret, fds[3] = {0, 1, 0};
        char *c = make_message(BINDIR "/para_client -- %s", cmd);
@@ -1434,7 +1434,7 @@ static void handle_command(int c)
                else if (*handler == 'x')
                        external_cmd(arg);
                else if (*handler == 'p')
-                       client_cmd_cmdline(arg);
+                       para_cmd(arg);
                else if (*handler == 'i') {
                        int num = find_cmd_byname(arg);
                        if (num >= 0)