# HG changeset patch # User Matti Hamalainen # Date 1210548312 -10800 # Node ID 89624b51e73dd110de18fd7f6d930b1c8d6e7a98 # Parent 3476ae08cc99a4891def89e1ad67c1d9b2683cc8 Align preprocessor conditionals properly. diff -r 3476ae08cc99 -r 89624b51e73d src/neon/rb.c --- 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);