Summary: | ASTERISK-06235: [patch] chan_zap does not compile with WITHOUT_PRI | ||
Reporter: | Luigi Rizzo (rizzo) | Labels: | |
Date Opened: | 2006-02-01 22:33:36.000-0600 | Date Closed: | 2008-01-15 16:32:10.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_zap |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | the last two lines in chan_zap.c::load_module() ast_string_field_init(&inuse, 16); ast_string_field_set(&inuse, name, "GR-303InUse"); do not compile if asterisk is compiled with WITHOUT_PRI because the corresponding variable is declared in an #ifdef ZAPATA_PRI section. The trivial fix is to move the two lines a few lines up in the same function where there is an #ifdef ZAPATA_PRI section. | ||
Comments: | By: Matthew Fredrickson (mattf) 2006-02-02 14:02:24.000-0600 Fixed in trunk By: Digium Subversion (svnbot) 2008-01-15 16:32:10.000-0600 Repository: asterisk Revision: 9113 U trunk/channels/chan_zap.c ------------------------------------------------------------------------ r9113 | mattf | 2008-01-15 16:32:10 -0600 (Tue, 15 Jan 2008) | 2 lines Fix w/ string field updates ASTERISK-6235 ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=9113 |