cli: Increase the command maximum length from 1024 to 2048.
authorTanu Kaskinen <ext-tanu.kaskinen@nokia.com>
Thu, 25 Feb 2010 06:39:42 +0000 (08:39 +0200)
committerTanu Kaskinen <ext-tanu.kaskinen@nokia.com>
Mon, 10 May 2010 11:08:04 +0000 (14:08 +0300)
src/pulsecore/cli-command.c

index 82a44d8..a5497d9 100644 (file)
@@ -1766,7 +1766,7 @@ int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, pa_bo
 }
 
 int pa_cli_command_execute_file_stream(pa_core *c, FILE *f, pa_strbuf *buf, pa_bool_t *fail) {
-    char line[1024];
+    char line[2048];
     int ifstate = IFSTATE_NONE;
     int ret = -1;
     pa_bool_t _fail = TRUE;