mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 21:04:01 +00:00
Add "LOW_MEMORY" option and increase some buffer sizes (bug #1827)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
config.c
4
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;
|
||||
|
||||
Reference in New Issue
Block a user