small correction for verbose print h.323 packets

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2010-10-09 15:00:07 +00:00
parent 409feba665
commit 495b8f3719

View File

@@ -982,7 +982,7 @@ int ooH2250Receive(OOH323CallData *call)
ASN1OCTET message[MAXMSGLEN], message1[MAXMSGLEN];
int len;
Q931Message *pmsg;
OOCTXT *pctxt = call->pctxt;
OOCTXT *pctxt = call->msgctxt;
struct timeval timeout;
@@ -1116,6 +1116,7 @@ int ooH2250Receive(OOH323CallData *call)
initializePrintHandler(&printHandler, "Received H.2250 Message");
setEventHandler (pctxt, &printHandler);
setPERBuffer (pctxt, message, len, TRUE);
ret = ooQ931Decode (call, pmsg, len, message, 1);
if(ret != OO_OK) {
OOTRACEERR3("Error:Failed to decode received H.2250 message. (%s, %s)\n",