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:
Alexandr Anikin
2012-07-05 11:42:23 +00:00
parent fa10f3f8a8
commit f719be6054
3 changed files with 4 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
#include "asterisk.h"
#include "asterisk/lock.h"
#include "asterisk/utils.h"
#include "ooStackCmds.h"
#include "ootrace.h"
#include "ooq931.h"

View File

@@ -15,6 +15,7 @@
*****************************************************************************/
#include "asterisk.h"
#include "asterisk/lock.h"
#include "asterisk/utils.h"
#include "ooStackCmds.h"
#include "ooh323ep.h"

View File

@@ -875,7 +875,7 @@ int ooEncodeH225Message(OOH323CallData *call, Q931Message *pq931Msg,
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];
DListNode *pNode = NULL;
H245OpenLogicalChannel *olc = NULL;
@@ -889,7 +889,7 @@ int ooHandleFastStartChannels(OOH323CallData *pCall)
/* 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);
olc = (H245OpenLogicalChannel*)pNode->data;