diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-16 10:58:22 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-16 11:33:27 +0100 |
commit | e31031084371e695f6b76cc1869b6e87c5e72737 (patch) | |
tree | 1ff78bf540da828d06601758b5ad5811d4c749a1 /src/mgcp_ss7.c | |
parent | 677fd1e5c8dbe7133664bebda2e03179a9e98220 (diff) |
mgw: Always disable the writing for the socket notifier, initialize variable
This was spotted while verifying the RSIP code using valgrind.
Diffstat (limited to 'src/mgcp_ss7.c')
-rw-r--r-- | src/mgcp_ss7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mgcp_ss7.c b/src/mgcp_ss7.c index eae771a..47c162b 100644 --- a/src/mgcp_ss7.c +++ b/src/mgcp_ss7.c @@ -802,8 +802,8 @@ static struct mgcp_ss7 *mgcp_ss7_init(struct mgcp_config *cfg) return NULL; } -#ifndef NO_UNIPORTE conf->cmd_queue->no_write = 1; +#ifndef NO_UNIPORTE pthread_create(&conf->thread, NULL, start_uniporte, conf); #endif |