connection.h: make kdbus_conn_{un,}lock2() NULL pointer resistant
authorDaniel Mack <daniel@zonque.org>
Thu, 8 Jan 2015 13:12:36 +0000 (14:12 +0100)
committerDaniel Mack <daniel@zonque.org>
Thu, 8 Jan 2015 13:12:36 +0000 (14:12 +0100)
commit8a81af663ee87d0a572db21fee303dc1a018f863
tree47a8263fb4431479ca2c01c2488177a391f404b7
parentb9ea61ef0f4ea908a679d54c6a6ecf73313380c2
connection.h: make kdbus_conn_{un,}lock2() NULL pointer resistant

Allow NULL pointers in both arguments to kdbus_conn_lock2() and
kdbus_conn_unlock2().

Signed-off-by: Daniel Mack <daniel@zonque.org>
connection.h