Merged revisions 61694 via svnmerge from
[asterisk/asterisk.git] / res / res_realtime.c
index ee10735..28525f4 100644 (file)
@@ -57,7 +57,7 @@ static int cli_realtime_load(int fd, int argc, char **argv)
                return RESULT_FAILURE;
        }
 
                return RESULT_FAILURE;
        }
 
-       var = ast_load_realtime(argv[2], argv[3], argv[4], NULL);
+       var = ast_load_realtime_all(argv[2], argv[3], argv[4], NULL);
 
        if(var) {
                ast_cli(fd, header_format, "Column Name", "Column Value");
 
        if(var) {
                ast_cli(fd, header_format, "Column Name", "Column Value");
@@ -93,11 +93,11 @@ static int cli_realtime_update(int fd, int argc, char **argv) {
        return RESULT_SUCCESS;
 }
 
        return RESULT_SUCCESS;
 }
 
-static char cli_realtime_load_usage[] =
+static const char cli_realtime_load_usage[] =
 "Usage: realtime load <family> <colmatch> <value>\n"
 "       Prints out a list of variables using the RealTime driver.\n";
 
 "Usage: realtime load <family> <colmatch> <value>\n"
 "       Prints out a list of variables using the RealTime driver.\n";
 
-static char cli_realtime_update_usage[] =
+static const char cli_realtime_update_usage[] =
 "Usage: realtime update <family> <colmatch> <value>\n"
 "       Update a single variable using the RealTime driver.\n";
 
 "Usage: realtime update <family> <colmatch> <value>\n"
 "       Update a single variable using the RealTime driver.\n";