diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:34:30 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:34:30 +0000 |
commit | f9980e7f7cb05f2e6f95d0cdde8cb853ef5756d1 (patch) | |
tree | b4f7d56dc6c4dca246072a682969e85f07d0de1f /res/res_speech.c | |
parent | f0ef34826c9accbfbf3d2e0cc52a5b2ff537d7ec (diff) |
Use the linkedlists.h AST_LIST_NEXT macro for modifying the list of results.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74616 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_speech.c')
-rw-r--r-- | res/res_speech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_speech.c b/res/res_speech.c index e848b06ca..9047ad254 100644 --- a/res/res_speech.c +++ b/res/res_speech.c @@ -113,7 +113,7 @@ int ast_speech_results_free(struct ast_speech_result *result) current_result->grammar = NULL; } /* Move on and then free ourselves */ - current_result = current_result->next; + current_result = AST_LIST_NEXT(current_result, list); ast_free(prev_result); prev_result = NULL; } |