[zaptel-commits] qwell: branch 1.4 r3716 - /branches/1.4/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Jan 22 11:11:14 CST 2008


Author: qwell
Date: Mon Jan 21 14:54:14 2008
New Revision: 3716

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3716
Log:
Fix compiler error when building with CONFIG_ZAPATA_PPP.

Closes issue #11807.

Modified:
    branches/1.4/zaptel-base.c

Change Statistics:
 0 files changed

Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3716&r1=3715&r2=3716
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Mon Jan 21 14:54:14 2008
@@ -4521,6 +4521,7 @@
 			if (!chan->ppp) {
 				chan->ppp = kmalloc(sizeof(struct ppp_channel), GFP_KERNEL);
 				if (chan->ppp) {
+					struct echo_can_state *tec;
 					memset(chan->ppp, 0, sizeof(struct ppp_channel));
 					chan->ppp->private = chan;
 					chan->ppp->ops = &ztppp_ops;




More information about the zaptel-commits mailing list