Fix for commit r371535
authorKinsey Moore <kmoore@digium.com>
Mon, 20 Aug 2012 15:01:08 +0000 (15:01 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 20 Aug 2012 15:01:08 +0000 (15:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/utils.c

index 139d4ab..8997305 100644 (file)
@@ -795,7 +795,7 @@ static void append_backtrace_information(struct ast_str **str, struct ast_bt *bt
                return;
        }
 
-       num_symbols = bt->num_frames;
+       num_frames = bt->num_frames;
        if ((symbols = ast_bt_get_symbols(bt->addresses, num_frames))) {
                int frame_iterator;