From 426336f4e683aed0e39fbe5fa4f699c6a2adab7a Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Tue, 25 Mar 2003 17:02:23 +0000 Subject: [PATCH] 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 --- q931.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q931.c b/q931.c index 84fb408..3f7beaf 100755 --- a/q931.c +++ b/q931.c @@ -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); }