]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Logger: Fix handling of absolute paths
authorKinsey Moore <kmoore@digium.com>
Wed, 5 Feb 2014 20:30:53 +0000 (20:30 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 5 Feb 2014 20:30:53 +0000 (20:30 +0000)
commitd824987e9dcb6f3b8ebbabe8ad465dc68ee2f3fd
tree801ae104a6496fb8cfe6d1bf4719f52bc4ecc67c
parentd1b9b7fc77129d2ae7582dd9a41007dea1465a85
Logger: Fix handling of absolute paths

This fixes path handling for log files so that an extra / is not
appended to the file path when the path is absolute (begins with /).
This would previously result in different but functionally equivalent
paths in the output of 'logger show channels'.

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