SOURCES: callweaver-fixes.patch - oops
arekm
arekm at pld-linux.org
Mon Sep 24 20:19:54 CEST 2007
Author: arekm Date: Mon Sep 24 18:19:54 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- oops
---- Files affected:
SOURCES:
callweaver-fixes.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/callweaver-fixes.patch
diff -u SOURCES/callweaver-fixes.patch:1.2 SOURCES/callweaver-fixes.patch:1.3
--- SOURCES/callweaver-fixes.patch:1.2 Mon Sep 24 20:11:32 2007
+++ SOURCES/callweaver-fixes.patch Mon Sep 24 20:19:49 2007
@@ -50,12 +50,12 @@
+ }
+ state->samples = 0;
+ if (chan->stream) {
-+ pbx_closestream(chan->stream);
++ opbx_closestream(chan->stream);
+ chan->stream = NULL;
+ state->pos++;
+ state->pos %= state->class->total_files;
+ }
-+ if (pbx_test_flag(state->class, MOH_RANDOMIZE)) {
++ if (opbx_test_flag(state->class, MOH_RANDOMIZE)) {
/* Try 20 times to find something good */
- for (tries=0;tries < 20;tries++) {
- state->samples = 0;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/callweaver-fixes.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list