stop seg if callerid is not sent at all

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara 2003-07-31 04:43:03 +00:00
parent 56f1a46121
commit 5fc9d43a99
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ int MyH323EndPoint::MakeCall(const PString & dest, PString & token,
*callReference = connection->GetCallReference();
if (strlen(callerid))
if (callerid)
connection->SetLocalPartyName(PString(callerid));
connection->Unlock();