Upgrade to mutt-1.5.11, fixes gcc-4 specific errors, close #426
[openwrt.git] / package / asterisk / patches / asterisk-1.0.7-chan_iax2-tmp_path.patch
1 diff -ruN asterisk-1.0.7-old/channels/chan_iax2.c asterisk-1.0.7-new/channels/chan_iax2.c
2 --- asterisk-1.0.7-old/channels/chan_iax2.c 2005-10-25 02:06:35.000000000 +0200
3 +++ asterisk-1.0.7-new/channels/chan_iax2.c 2005-10-25 04:35:11.000000000 +0200
4 @@ -960,7 +960,7 @@
5 last++;
6 else
7 last = s;
8 - snprintf(s2, strlen(s) + 100, "/var/tmp/%s-%ld", last, (unsigned long)rand());
9 + snprintf(s2, strlen(s) + 100, "/tmp/%s-%ld", last, (unsigned long)rand());
10 res = stat(s, &stbuf);
11 if (res < 0) {
12 ast_log(LOG_WARNING, "Failed to stat '%s': %s\n", s, strerror(errno));
This page took 0.046241 seconds and 5 git commands to generate.