Change code style of form "if( x )" to "if (x)" for consistency.
diff --git a/server/registry.c b/server/registry.c index d6ad328..7546fa5 100644 --- a/server/registry.c +++ b/server/registry.c
@@ -271,7 +271,7 @@ /* notify waiter and maybe delete the notification */ static void do_notification( struct key *key, struct notify *notify, int del ) { - if( notify->event ) + if (notify->event) { set_event( notify->event ); release_object( notify->event ); @@ -756,7 +756,7 @@ } while (recurse && (key->last_subkey>=0)) - if(0>delete_key(key->subkeys[key->last_subkey], 1)) + if (0 > delete_key(key->subkeys[key->last_subkey], 1)) return -1; for (index = 0; index <= parent->last_subkey; index++) @@ -1930,13 +1930,13 @@ struct notify *notify; key = get_hkey_obj( req->hkey, KEY_NOTIFY ); - if( key ) + if (key) { event = get_event_obj( current->process, req->event, SYNCHRONIZE ); - if( event ) + if (event) { notify = find_notify( key, current->process, req->hkey ); - if( notify ) + if (notify) { release_object( notify->event ); grab_object( event ); @@ -1945,7 +1945,7 @@ else { notify = mem_alloc( sizeof(*notify) ); - if( notify ) + if (notify) { grab_object( event ); notify->event = event;