https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61651 | file | 2007-04-13 14:08:02 -0400 (Fri, 13 Apr 2007) | 2 lines
Do not bother looking for a result if none are present.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61652
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
char *tmp = NULL;
int nbest_num = 0, wanted_num = 0, i = 0;
+ if (!result)
+ return NULL;
+
if ((tmp = strchr(result_num, '/'))) {
*tmp++ = '\0';
nbest_num = atoi(result_num);