summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-channels::h323::ast_h323.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk/files/patch-channels::h323::ast_h323.cxx')
-rw-r--r--net/asterisk/files/patch-channels::h323::ast_h323.cxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/asterisk/files/patch-channels::h323::ast_h323.cxx b/net/asterisk/files/patch-channels::h323::ast_h323.cxx
new file mode 100644
index 000000000000..bfc819452128
--- /dev/null
+++ b/net/asterisk/files/patch-channels::h323::ast_h323.cxx
@@ -0,0 +1,29 @@
+--- channels/h323/ast_h323.cxx.orig 2008-04-08 15:08:37.000000000 +0300
++++ channels/h323/ast_h323.cxx 2008-04-08 15:08:51.000000000 +0300
+@@ -81,8 +81,6 @@
+ /** PWLib entry point */
+ static MyProcess *localProcess = NULL;
+
+-static int _timerChangePipe[2];
+-
+ static unsigned traceOptions = PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine;
+
+ class PAsteriskLog : public PObject, public iostream {
+@@ -191,8 +189,6 @@
+
+ MyProcess::~MyProcess()
+ {
+- _timerChangePipe[0] = timerChangePipe[0];
+- _timerChangePipe[1] = timerChangePipe[1];
+ }
+
+ void MyProcess::Main()
+@@ -2460,8 +2456,6 @@
+ if (localProcess) {
+ delete localProcess;
+ localProcess = NULL;
+- close(_timerChangePipe[0]);
+- close(_timerChangePipe[1]);
+ }
+ if (logstream) {
+ PTrace::SetLevel(0);