changeset 2562:89624b51e73d

Align preprocessor conditionals properly.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 12 May 2008 02:25:12 +0300
parents 3476ae08cc99
children 38f3540d6b06
files src/neon/rb.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/neon/rb.c	Mon May 12 02:23:55 2008 +0300
+++ b/src/neon/rb.c	Mon May 12 02:25:12 2008 +0300
@@ -125,11 +125,11 @@
     }
     rb->size = size;
 
-    #ifdef _RB_USE_GLIB
+#ifdef _RB_USE_GLIB
     if (NULL == (rb->lock = g_mutex_new())) {
         _LEAVE -1;
     }
-    #else
+#else
     if (NULL == (rb->lock = malloc(sizeof(pthread_mutex_t)))) {
         _LEAVE -1;
     }
@@ -138,7 +138,7 @@
         free(rb->lock);
         _LEAVE -1;
     }
-    #endif
+#endif
     rb->_free_lock = 1;
 
     reset_rb(rb);