* Fix a couple bugs in error paths related to the previous change.
* Fix a couple bugs in error paths related to the previous change.

MelissaJS/minidlna,MelissaJS/minidlna,kayl669/minidlna2,kayl669/minidlna2