[libpri-commits] branch 1.2 - r291 /branches/1.2/q931.c

libpri-commits at lists.digium.com libpri-commits at lists.digium.com
Tue Jan 17 06:43:20 MST 2006


Author: kpfleming
Date: Tue Jan 17 07:43:18 2006
New Revision: 291

URL: http://svn.digium.com/view/libpri?rev=291&view=rev
Log:
ensure that user-user info field in call is properly reset when not needed

Modified:
    branches/1.2/q931.c

Modified: branches/1.2/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.2/q931.c?rev=291&r1=290&r2=291&view=diff
==============================================================================
--- branches/1.2/q931.c (original)
+++ branches/1.2/q931.c Tue Jan 17 07:43:18 2006
@@ -2798,6 +2798,8 @@
 
 	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;



More information about the libpri-commits mailing list