mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Fix dev mode ooh323 warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
#include "asterisk/lock.h"
|
#include "asterisk/lock.h"
|
||||||
|
#include "asterisk/utils.h"
|
||||||
#include "ooStackCmds.h"
|
#include "ooStackCmds.h"
|
||||||
#include "ootrace.h"
|
#include "ootrace.h"
|
||||||
#include "ooq931.h"
|
#include "ooq931.h"
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
#include "asterisk/lock.h"
|
#include "asterisk/lock.h"
|
||||||
|
#include "asterisk/utils.h"
|
||||||
|
|
||||||
#include "ooStackCmds.h"
|
#include "ooStackCmds.h"
|
||||||
#include "ooh323ep.h"
|
#include "ooh323ep.h"
|
||||||
|
@@ -875,7 +875,7 @@ int ooEncodeH225Message(OOH323CallData *call, Q931Message *pq931Msg,
|
|||||||
|
|
||||||
int ooHandleFastStartChannels(OOH323CallData *pCall)
|
int ooHandleFastStartChannels(OOH323CallData *pCall)
|
||||||
{
|
{
|
||||||
int i = 0, j = 0, remoteMediaControlPort = 0, dir = 0;
|
int i = 0, remoteMediaControlPort = 0, dir = 0;
|
||||||
char remoteMediaControlIP[2 + 8 * 4 + 7];
|
char remoteMediaControlIP[2 + 8 * 4 + 7];
|
||||||
DListNode *pNode = NULL;
|
DListNode *pNode = NULL;
|
||||||
H245OpenLogicalChannel *olc = NULL;
|
H245OpenLogicalChannel *olc = NULL;
|
||||||
@@ -889,7 +889,7 @@ int ooHandleFastStartChannels(OOH323CallData *pCall)
|
|||||||
|
|
||||||
/* Go though all the proposed channels */
|
/* Go though all the proposed channels */
|
||||||
|
|
||||||
for (i = 0, j = 0; i < (int)pCall->remoteFastStartOLCs.count; i++) {
|
for (i = 0; i < (int)pCall->remoteFastStartOLCs.count; i++) {
|
||||||
|
|
||||||
pNode = dListFindByIndex(&pCall->remoteFastStartOLCs, i);
|
pNode = dListFindByIndex(&pCall->remoteFastStartOLCs, i);
|
||||||
olc = (H245OpenLogicalChannel*)pNode->data;
|
olc = (H245OpenLogicalChannel*)pNode->data;
|
||||||
|
Reference in New Issue
Block a user