Commit 46f7c1d8 authored by Pekka Pessi's avatar Pekka Pessi

su_source.c: su_source_getmsgs() streamlined.

darcs-hash:20060823131842-65a35-e2a93b38a18970b7392657941e3133e1fd5dda08.gz
parent adb6c374
......@@ -502,10 +502,7 @@ int su_source_getmsgs(su_port_t *self)
SU_SOURCE_UNLOCK(self, "su_source_getmsgs");
if (f)
f(su_root_magic(root), &msg, msg->sum_data);
if (msg && msg->sum_report)
su_msg_delivery_report(&msg);
else
su_msg_destroy(&msg);
su_msg_delivery_report(&msg);
SU_SOURCE_LOCK(self, "su_source_getmsgs");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment