names: fix kdbus_name_lookup() to not ref NULL conns (ABI break)
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 10 Apr 2014 19:32:08 +0000 (21:32 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 10 Apr 2014 19:32:08 +0000 (21:32 +0200)
commite62195ac8cbe34c139ec508ff15f5fc021eecd86
treef200ebae2a9c3c8fb3d75faf7732acecf8488d3f
parent5a9f3ee6e158412257cd462d3de039058fcc1ee6
names: fix kdbus_name_lookup() to not ref NULL conns (ABI break)

The previous kdbus_name_lookup() fix assumed kdbus_conn_ref(NULL) is a
no-op. Turns out, it's a panic-op instead... Fix it.

Also add the ABI-break annotation as the previous error-code change
requires new systemd user-space (fixed by Kay).

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
names.c