connection: update attach_flags only if KDBUS_ITEM_ATTACH_FLAGS is provided
authorDjalal Harouni <tixxdz@opendz.org>
Fri, 20 Jun 2014 16:50:00 +0000 (17:50 +0100)
committerDaniel Mack <zonque@gmail.com>
Fri, 20 Jun 2014 17:10:14 +0000 (19:10 +0200)
commit4d2dd11c0bb5803f17b5f78074996bf468abb4ec
treeddd5bc28478cd371a68fb1f4331b4d43df633ed1
parent52a94919e23d4943ac1b5f9e2711d8933273fb28
connection: update attach_flags only if KDBUS_ITEM_ATTACH_FLAGS is provided

Fix a bug introcuded in commit d92d68414fab which fixed another bug.

conn->attach_flags should only be update if KDBUS_ITEM_ATTACH_FLAGS was
provided.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
connection.c