connection: fix expect_reply logic
authorDaniel Mack <zonque@gmail.com>
Sat, 22 Mar 2014 10:48:52 +0000 (11:48 +0100)
committerDaniel Mack <zonque@gmail.com>
Sat, 22 Mar 2014 10:48:52 +0000 (11:48 +0100)
commit7b45fee4d9f5446af9eada36225e385366a30993
treeedead0d5eac155cd5c9f12525af62d7c2feb478f
parent7cf21e56256df75b01df2ce600fc9d0ed1530584
connection: fix expect_reply logic

Only interpret msg->cookie_reply if KDBUS_MSG_FLAGS_EXPECT_REPLY isn't
set. Re-order the code and add some comments.
connection.c