loadparm: Fix CID 1273054 Improper use of negative value
authorVolker Lendecke <vl@samba.org>
Thu, 26 Mar 2015 09:14:22 +0000 (10:14 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 26 Mar 2015 13:54:20 +0000 (14:54 +0100)
commit5d0a5c421641f719bcee6133119c1443dd7a4710
tree47893d162826f3098330c803dc56c032ef477090
parentd02840a3a4d113e17a4225b0e7b1c893634a31d9
loadparm: Fix CID 1273054 Improper use of negative value

Probably a "can't happen", but formally lpcfg_map_parameter can return -1

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/param/loadparm.c