diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 20:14:34 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 20:14:34 +0000 |
commit | fea057f6474ed94062cf3cbf4ad096bba62d6832 (patch) | |
tree | e189c9a20520ae30231ac1c6573db5f3a289b84c /agi | |
parent | 247584d4d4239bc8da24b94e97211296de846046 (diff) |
Changes to make 1.4.26 into 1.4.26.1v1.4.26.1
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.26.1@211596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'agi')
-rw-r--r-- | agi/eagi-sphinx-test.c | 2 | ||||
-rw-r--r-- | agi/eagi-test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/agi/eagi-sphinx-test.c b/agi/eagi-sphinx-test.c index 968e3cfc3..f3f3abfe9 100644 --- a/agi/eagi-sphinx-test.c +++ b/agi/eagi-sphinx-test.c @@ -214,7 +214,7 @@ int main(int argc, char *argv[]) connect_sphinx(); tmp = getenv("agi_enhanced"); if (tmp) { - if (sscanf(tmp, "%d.%d", &ver, &subver) != 2) + if (sscanf(tmp, "%30d.%30d", &ver, &subver) != 2) ver = 0; } if (ver < 1) { diff --git a/agi/eagi-test.c b/agi/eagi-test.c index 9bfbee79e..a768d7fb8 100644 --- a/agi/eagi-test.c +++ b/agi/eagi-test.c @@ -156,7 +156,7 @@ int main(int argc, char *argv[]) } tmp = getenv("agi_enhanced"); if (tmp) { - if (sscanf(tmp, "%d.%d", &ver, &subver) != 2) + if (sscanf(tmp, "%30d.%30d", &ver, &subver) != 2) ver = 0; } if (ver < 1) { |