MAINTENANCE: coding style
diff --git a/src/notification-server.c b/src/notification-server.c
index be3e61a..ba039b2 100644
--- a/src/notification-server.c
+++ b/src/notification-server.c
@@ -623,7 +623,7 @@
}
//DEBUG("Callback server writeable.");
//DEBUG("lock session lock.");
- if (pthread_rwlock_wrlock (&session_lock) != 0) {
+ if (pthread_rwlock_wrlock(&session_lock) != 0) {
DEBUG("Error while unlocking rwlock: %d (%s)", errno, strerror(errno));
return -1;
}
@@ -638,7 +638,7 @@
return -1;
}
pthread_mutex_lock(&ls->lock);
- if (pthread_rwlock_unlock (&session_lock) != 0) {
+ if (pthread_rwlock_unlock(&session_lock) != 0) {
DEBUG("Error while unlocking rwlock: %d (%s)", errno, strerror(errno));
}
@@ -779,7 +779,7 @@
//dump_handshake_info(wsi);
/* you could return non-zero here and kill the connection */
break;
- //gives segfailt :-(
+ //gives segfault :-(
//case LWS_CALLBACK_CLOSED:
// if (pss->session_key != NULL) {
// free(pss->session_key);