]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use the right variable to print the time in a debug message.
authorRussell Bryant <russell@russellbryant.com>
Fri, 6 May 2011 21:49:01 +0000 (21:49 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 6 May 2011 21:49:01 +0000 (21:49 +0000)
The original patch also increased some buffer sizes, but that was already
done in this version.

(closes issue #17034)
Reported by: sysreq
Patches:
      asterisk-issue-17034.patch uploaded by sysreq (license 1009)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317969 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index 63d48eddea5ba54afb138e92e475ac1ff855c830..b3cc1fa794d7604820c9a71a406b4e32e2e6e5da 100644 (file)
@@ -3823,7 +3823,7 @@ static struct ast_conference *find_conf_realtime(struct ast_channel *chan, char
                        ast_localtime(&now, &tm, NULL);
                        ast_strftime(currenttime, sizeof(currenttime), DATE_FORMAT, &tm);
 
-                       ast_debug(1, "Looking for conference %s that starts after %s\n", confno, eatime);
+                       ast_debug(1, "Looking for conference %s that starts after %s\n", confno, currenttime);
 
                        var = ast_load_realtime("meetme", "confno",
                                confno, "starttime <= ", currenttime, "endtime >= ",