libopkg: fix pkg_set_ptr() to properly set NULL pointers
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 10:46:31 +0000 (11:46 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 16:02:30 +0000 (17:02 +0100)
commit2b3d362edbedf3ebbbeb4d50e3653c1702fd61ce
treec88bf66c911845805afe02fd1f5d774f30d94895
parenta65b6cb58937885c115059aa571c2b3a57d90888
libopkg: fix pkg_set_ptr() to properly set NULL pointers

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg.h