]> code.delx.au - pulseaudio/commitdiff
Increase the maximum line length of default.pa from 256 to 1024. Load commands of...
authorTanu Kaskinen <tanuk@iki.fi>
Fri, 14 Dec 2007 12:54:26 +0000 (12:54 +0000)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 14 Dec 2007 12:54:26 +0000 (12:54 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2084 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/cli-command.c

index 9bd1b50963f1a1968ec0bf88ae7b781d976050fd..3110a271ac7c7c58f30286c1eb0caff19c0d474b 100644 (file)
@@ -1363,7 +1363,7 @@ int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, pa_bo
 }
 
 int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, pa_bool_t *fail) {
-    char line[256];
+    char line[1024];
     FILE *f = NULL;
     int ifstate = IFSTATE_NONE;
     int ret = -1;