Fix proplists:lookup/2 check
authorPaul J. Davis <paul.joseph.davis@gmail.com>
Wed, 24 Apr 2013 19:10:20 +0000 (14:10 -0500)
committerRobert Newson <rnewson@apache.org>
Wed, 30 Jul 2014 16:41:18 +0000 (17:41 +0100)
commit6e4f69efa11fce639d8545f88cbe0b60ffa6f99f
tree6fb5d24298d2991ebbd42036b16b0ca61786cfe7
parent34aeaeeb3669611285ce7c39d19414c1d8aedf06
Fix proplists:lookup/2 check

Apparently someone was smoking something strong when they designed the
API of the proplists module. lookup/2 returns none when a key isn't
found which does not at all match get_value/2 which returns undefined.
src/couch_event_listener.erl