[Home]

Summary:ASTERISK-00239: Fix some logic errors and compile warnings
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2003-09-09 20:35:18Date Closed:2008-01-15 14:34:09.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) a.diff
Description:There are a few minor problems with sizeof() applied to the wrong thing, or wrongly placed ')' in the tree.

****** ADDITIONAL INFORMATION ******

The attached diff fixes all the problems I managed to track down in this regard, and also adds a printf-attribute for ast_cli, much like already exists for ast_log, so as to make some of these problems less likely to crop up.
Comments:By: Mark Spencer (markster) 2003-09-10 00:23:46

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:34:09.000-0600

Repository: asterisk
Revision: 1494

U   trunk/apps/app_queue.c
U   trunk/include/asterisk/cli.h
U   trunk/pbx/pbx_config.c
U   trunk/pbx.c
U   trunk/res/res_monitor.c
U   trunk/res/res_parking.c

------------------------------------------------------------------------
r1494 | markster | 2008-01-15 14:34:09 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix small logic errors (bug ASTERISK-239)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1494