Don't use a function call in pri_information

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@35 2fbb986a-6c06-0410-b554-c9c1f0a7f128
remotes/origin/1.0
Martin Pycko 22 years ago
parent af1366fcde
commit 426336f4e6

@ -1496,7 +1496,7 @@ static int information_ies[] = { Q931_CALLED_PARTY_NUMBER, -1 };
int q931_information(struct pri *pri, q931_call *c, char digit)
{
strncpy(c->callednum,&digit,1);
c->callednum[0]=digit;
c->callednum[1]='\0';
return send_message(pri, c, Q931_INFORMATION, information_ies);
}

Loading…
Cancel
Save