[Home]

Summary:ASTERISK-11029: [patch] allow resetting group parameters
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2007-12-13 14:17:52.000-0600Date Closed:2007-12-27 15:37:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) group_empty.diff
Description:main/channel.c:ast_get_group() can never return an empty list of groups. At least not without an annoying syntax error message.
Comments:By: Michiel van Baak (mvanbaak) 2007-12-17 14:15:52.000-0600

tzafrir: where's the patch ? Looks like you forgot to upload it.

By: Digium Subversion (svnbot) 2007-12-27 15:36:36.000-0600

Repository: asterisk
Revision: 95024

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r95024 | russell | 2007-12-27 15:36:35 -0600 (Thu, 27 Dec 2007) | 9 lines

Don't report a syntax error when an empty string is passed to ast_get_group.
Just return 0.

(closes issue ASTERISK-11029)
Reported by: tzafrir
Patches:
     group_empty.diff uploaded by tzafrir (license 46)
  -- slightly changed by me

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

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

By: Digium Subversion (svnbot) 2007-12-27 15:37:56.000-0600

Repository: asterisk
Revision: 95025

_U  trunk/
U   trunk/main/channel.c

------------------------------------------------------------------------
r95025 | russell | 2007-12-27 15:37:55 -0600 (Thu, 27 Dec 2007) | 17 lines

Merged revisions 95024 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r95024 | russell | 2007-12-27 15:40:02 -0600 (Thu, 27 Dec 2007) | 9 lines

Don't report a syntax error when an empty string is passed to ast_get_group.
Just return 0.

(closes issue ASTERISK-11029)
Reported by: tzafrir
Patches:
     group_empty.diff uploaded by tzafrir (license 46)
  -- slightly changed by me

........

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

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