diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-25 09:00:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-25 09:00:06 +0200 |
commit | 527c082c88390fde29f555fe3720e0d55d9edc34 (patch) | |
tree | 141242290d3cfc1fc6fe280ebd4e77477943a4f7 /src/mds-server/sending.c | |
parent | m + attributes (diff) | |
download | mds-527c082c88390fde29f555fe3720e0d55d9edc34.tar.gz mds-527c082c88390fde29f555fe3720e0d55d9edc34.tar.bz2 mds-527c082c88390fde29f555fe3720e0d55d9edc34.tar.xz |
attributes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/sending.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mds-server/sending.c b/src/mds-server/sending.c index 1106d05..a02fb0e 100644 --- a/src/mds-server/sending.c +++ b/src/mds-server/sending.c @@ -57,6 +57,7 @@ static client_t* client_by_socket(int client_fd) * @param modifying Whether the recipient may modify the message * @return Evaluates to true if and only if the entire message was sent */ +__attribute__((nonnull)) static int send_multicast_to_recipient(multicast_t* multicast, client_t* recipient, int modifying) { char* msg = multicast->message + multicast->message_ptr; @@ -93,6 +94,7 @@ static int send_multicast_to_recipient(multicast_t* multicast, client_t* recipie * @param recipient The recipient * @param modify_id The modify ID of the multicast */ +__attribute__((nonnull)) static void wait_for_reply(client_t* recipient, uint64_t modify_id) { /* pthread_cond_timedwait is required to handle re-exec and termination because |