]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Logger: Fix handling of absolute paths
authorKinsey Moore <kmoore@digium.com>
Wed, 5 Feb 2014 20:43:07 +0000 (20:43 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 5 Feb 2014 20:43:07 +0000 (20:43 +0000)
commitfb4e17c0d66b7dd379b39c69cad02f2fa6195f41
tree4ff70de81f46ae2354cb147ccd366b9eee322dd7
parentfaec988a5c97f73af9675867c862c227194a3450
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'.
........

Merged revisions 407455 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 407456 from http://svn.asterisk.org/svn/asterisk/branches/11

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