Summary: | ASTERISK-01161: Compile error in chan_iax2.c | ||
Reporter: | geertn (geertn) | Labels: | |
Date Opened: | 2004-03-05 03:57:22.000-0600 | Date Closed: | 2004-09-25 02:54:42 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I get a compile error in the following code added by a patch recently with log message: Log Message: Fix transfer context in IAX2 Code that was added: if (strlen(c->context)) strncpy(iaxs[callno]->context, c->context, sizeof(iaxs[callno]->context)); Error: chan_iax2.c: In function `iax2_bridge': chan_iax2.c:2125: `c' undeclared (first use in this function) chan_iax2.c:2125: (Each undeclared identifier is reported only once chan_iax2.c:2125: for each function it appears in.) chan_iax2.c:2126: `callno' undeclared (first use in this function) make[1]: *** [chan_iax2.o] Error 1 make[1]: Leaving directory `/root/ast/asterisk/channels' make: *** [subdirs] Error 1 Removing the lines fixes it. | ||
Comments: | By: James Golovich (jamesgolovich) 2004-03-05 04:07:20.000-0600 Fixed in CVS |