aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-12 14:34:15 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-12 14:34:15 +0000
commit8ff8c3ad06efc886ed39946b2d740dd190cec0a3 (patch)
treef44e9b04b8c1ffabd982d1cc5e6972e609fe14b3 /config.c
parent955693cedb3c4749783ff28783aedaa12bb74f61 (diff)
Add "LOW_MEMORY" option and increase some buffer sizes (bug #1827)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3193 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'config.c')
-rwxr-xr-xconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index cb4ae06ab..865fb6096 100755
--- a/config.c
+++ b/config.c
@@ -529,7 +529,7 @@ static int cfg_process(struct ast_config *tmp, struct ast_category **_tmpc, stru
if((c = strchr(cur,':'))) {
*c = '\0';
- *c++;
+ c++;
arg = c;
}
@@ -728,7 +728,7 @@ static struct ast_config *__ast_load(char *configfile, struct ast_config *tmp, s
)
{
char fn[256];
- char buf[512];
+ char buf[8192];
FILE *f;
int lineno=0;
int master=0;