Don't report a syntax error when an empty string is passed to ast_get_group.
commit2ace58a9829a73a6a0a0caac3fcd7b0fa30f95a6
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 27 Dec 2007 21:40:02 +0000 (27 21:40 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 27 Dec 2007 21:40:02 +0000 (27 21:40 +0000)
tree1c91dbadfee1cb4499daac67505b387fcce55fa0
parente2aefe0351d9eddb93321018b5fd52c2d2452c54
Don't report a syntax error when an empty string is passed to ast_get_group.
Just return 0.

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

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@95024 614ede4d-c843-0410-af14-a771ab80d22e
main/channel.c