[packages] net/freeswitch: Added includes for phrases back to freeswitch.xml and...
[openwrt/svn-archive/archive.git] / net / asterisk-1.4.x / patches / 013-chan_iax2-tmp_path.patch
1 --- a/channels/chan_iax2.c
2 +++ b/channels/chan_iax2.c
3 @@ -1898,7 +1898,7 @@ static int try_firmware(char *s)
4 last++;
5 else
6 last = s;
7 - snprintf(s2, strlen(s) + 100, "/var/tmp/%s-%ld", last, (unsigned long)ast_random());
8 + snprintf(s2, strlen(s) + 100, "/tmp/%s-%ld", last, (unsigned long)ast_random());
9 res = stat(s, &stbuf);
10 if (res < 0) {
11 ast_log(LOG_WARNING, "Failed to stat '%s': %s\n", s, strerror(errno));