From c873acd2e7154f80f5d980aaa5228b644a477ad9 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Thu, 4 Jan 2007 04:35:44 +0000 Subject: [PATCH] This bug was fixed in the trunk by the recent work to consolidate the various string handling into a single API, so this revision is blocked here. Blocked revisions 49388 via svnmerge ........ r49388 | russell | 2007-01-03 23:33:00 -0500 (Wed, 03 Jan 2007) | 6 lines Fix the REALTIME() dialplan function. ast_build_string() advances the string pointer to the position to begin the next write into the buffer. So, this pointer can not be used to copy the contents of the string later. The beginning of the buffer must be saved. Interestingly enough, this code could not have ever worked. (Pointed out by Sebb on IRC, thanks!) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49389 65c4cc65-6c06-0410-ace0-fbb531ad65f3 -- GitLab