From 28086f7e2a2d48c827d69c6bbfcadae37c5579c8 Mon Sep 17 00:00:00 2001 From: may Date: Thu, 3 Dec 2009 20:26:55 +0000 Subject: jitterbuffer setup correction correction of double pointer references from previous rev git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232853 f38db490-d61c-443f-a65b-d21fe96a405b --- addons/ooh323c/src/ooh245.c | 4 ++-- addons/ooh323c/src/ooh323.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'addons/ooh323c') diff --git a/addons/ooh323c/src/ooh245.c b/addons/ooh323c/src/ooh245.c index c8aad5d17..920df770f 100644 --- a/addons/ooh323c/src/ooh245.c +++ b/addons/ooh323c/src/ooh245.c @@ -3201,7 +3201,7 @@ int ooSendH245UserInputIndication_alphanumeric ooFreeH245Message(call, ph245msg); return OO_FAILED; } - strcpy(*(char**)indication->u.userInput->u.alphanumeric, data); + strcpy(*(char**)&indication->u.userInput->u.alphanumeric, data); OOTRACEDBGA3 ("Built UserInputIndication_alphanumeric (%s, %s)\n", call->callType, call->callToken); @@ -3264,7 +3264,7 @@ int ooSendH245UserInputIndication_signal ooFreeH245Message(call, ph245msg); return OO_FAILED; } - strcpy(*(char**)indication->u.userInput->u.signal->signalType, data); + strcpy(*(char**)&indication->u.userInput->u.signal->signalType, data); OOTRACEDBGA3 ("Built UserInputIndication_signal (%s, %s)\n", call->callType, call->callToken); diff --git a/addons/ooh323c/src/ooh323.c b/addons/ooh323c/src/ooh323.c index eaf60e334..8ccec6550 100644 --- a/addons/ooh323c/src/ooh323.c +++ b/addons/ooh323c/src/ooh323.c @@ -2167,7 +2167,7 @@ int ooPopulatePrefixList(OOCTXT *pctxt, OOAliases *pAliases, memFreePtr(pctxt, pPrefixEntry); return OO_FAILED; } - strcpy(*(char**)pPrefixEntry->prefix.u.dialedDigits, pAlias->value); + strcpy(*(char**)&pPrefixEntry->prefix.u.dialedDigits, pAlias->value); bValid = TRUE; break; default: @@ -2220,7 +2220,7 @@ int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases, memFreePtr(pctxt, pAliasEntry); return OO_FAILED; } - strcpy(*(char**)pAliasEntry->u.dialedDigits, pAlias->value); + strcpy(*(char**)&pAliasEntry->u.dialedDigits, pAlias->value); bValid = TRUE; break; case T_H225AliasAddress_h323_ID: @@ -2249,7 +2249,7 @@ int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases, memFreePtr(pctxt, pAliasEntry); return OO_FAILED; } - strcpy(*(char**)pAliasEntry->u.url_ID, pAlias->value); + strcpy(*(char**)&pAliasEntry->u.url_ID, pAlias->value); bValid = TRUE; break; case T_H225AliasAddress_email_ID: @@ -2262,7 +2262,7 @@ int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases, "alias entry \n"); return OO_FAILED; } - strcpy(*(char**)pAliasEntry->u.email_ID, pAlias->value); + strcpy(*(char**)&pAliasEntry->u.email_ID, pAlias->value); bValid = TRUE; break; default: -- cgit v1.2.3