Welcome to little lamb

Code » anopa » commit fc82d1b

Minor typo

author Olivier Brunel
2015-11-10 16:53:33 UTC
committer Olivier Brunel
2015-11-12 17:04:19 UTC
parent e4d38712510357a707f3aaac360cc053ad0091da

Minor typo

src/libanopa/exec_longrun.c +1 -1

diff --git a/src/libanopa/exec_longrun.c b/src/libanopa/exec_longrun.c
index f8f43cf..d72b994 100644
--- a/src/libanopa/exec_longrun.c
+++ b/src/libanopa/exec_longrun.c
@@ -160,7 +160,7 @@ _exec_longrun (int si, aa_mode mode)
     if (already)
     {
         if (_exec_cb)
-            _exec_cb (si, (is_start) ? -ERR_ALREADY_UP: -ERR_NOT_UP, 0);
+            _exec_cb (si, (is_start) ? -ERR_ALREADY_UP : -ERR_NOT_UP, 0);
 
         /* this was not a failure, but we return -1 to trigger a
          * aa_scan_mainlist() anyways, since the service changed state */