Logger: Fix handling of absolute paths
authorKinsey Moore <kmoore@digium.com>
Wed, 5 Feb 2014 20:43:50 +0000 (20:43 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 5 Feb 2014 20:43:50 +0000 (20:43 +0000)
commit6f4a834870e0b0eabd79fe361e2c10f09bdfbb55
tree2b9cdf527d6dd928867042a39aa1aee81c5297cd
parent99f8f0f80afe2bb0e4d9e1cb9590a111afedfb9f
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
........

Merged revisions 407458 from http://svn.asterisk.org/svn/asterisk/branches/12

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