]> git.ipfire.org Git - thirdparty/asterisk.git/commit
config: Fix inverted test
authorKinsey Moore <kmoore@digium.com>
Wed, 5 Mar 2014 20:40:44 +0000 (20:40 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 5 Mar 2014 20:40:44 +0000 (20:40 +0000)
commit774847cbde4f9da964ebcf70d1808477d4e25e4d
tree0169c4190b1b992a7e52243a192ccc6a96393b0e
parent9650cb5f882a7639e4ad704b687ab57f6b6a7fa5
config: Fix inverted test

The test of the result of the stat() call was inverted such that its
output was only used if the call failed. This inverts the test so that
the output of stat() is used correctly. This was causing full reloads
on unchanged files.

(closes issue ASTERISK-23383)
Reported by: David Woolley
........

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

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

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