added some missing 'AUD' entries
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 28 Oct 2006 15:24:59 +0000 (15:24 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 28 Oct 2006 15:24:59 +0000 (15:24 -0000)
src/charon/bus/bus.c

index 2f27476..0aff0f3 100644 (file)
@@ -41,18 +41,14 @@ ENUM(signal_names, SIG_ANY, SIG_MAX,
        /** should not get printed */
        "SIG_DBG_MAX",
        /** all level0 signals are AUDIT signals */
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
-       "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
+       "AUD", "AUD", "AUD",
        /** should not get printed */
        "SIG_MAX",
 );
@@ -237,11 +233,11 @@ static signal_t listen_(private_bus_t *this, level_t *level, int *thread,
        pthread_mutex_unlock(&this->mutex);
        
        /* return signal values */
-       *level = listener->level;
+       *level  = listener->level;
        *thread = listener->thread;
        *ike_sa = listener->ike_sa;
        *format = listener->format;
-       *args = listener->args;
+       *args   = listener->args;
        
        return listener->signal;
 }