From d97a630a813673fca76f3f3feec67922f80eea4c Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 17 Jan 2006 13:44:12 +0000 Subject: [PATCH] Merged revisions 291 via svnmerge from https://origsvn.digium.com/svn/libpri/branches/1.2 ........ r291 | kpfleming | 2006-01-17 07:43:18 -0600 (Tue, 17 Jan 2006) | 2 lines ensure that user-user info field in call is properly reset when not needed ........ git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@292 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/q931.c b/q931.c index f877540..c0f8698 100644 --- a/q931.c +++ b/q931.c @@ -2833,6 +2833,8 @@ int q931_setup(struct pri *pri, q931_call *c, struct pri_sr *req) if (req->useruserinfo) libpri_copy_string(c->useruserinfo, req->useruserinfo, sizeof(c->useruserinfo)); + else + c->useruserinfo[0] = '\0'; if (req->nonisdn && (pri->switchtype == PRI_SWITCH_NI2)) c->progressmask = PRI_PROG_CALLER_NOT_ISDN;