These files have different indentation rules (8 spaces tabs instead
of 4 spaces).
Fix some wrong indentation.

Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
 src/continuation.c       | 4 ++--
 src/coroutine_ucontext.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/continuation.c b/src/continuation.c
index adce8588..d0b77454 100644
--- a/src/continuation.c
+++ b/src/continuation.c
@@ -85,8 +85,8 @@ int cc_swap(struct continuation *from, struct continuation 
*to)
                return -1;
        else if (to->exited == 0)
                to->exited = 1; // so when coroutine finishes
-        else if (to->exited == 1)
-                return 1; // it ends up here
+       else if (to->exited == 1)
+               return 1; // it ends up here
 
        if (_setjmp(from->jmp) == 0)
                _longjmp(to->jmp, 1);
diff --git a/src/coroutine_ucontext.c b/src/coroutine_ucontext.c
index d709a336..d4e57e6e 100644
--- a/src/coroutine_ucontext.c
+++ b/src/coroutine_ucontext.c
@@ -139,7 +139,7 @@ void *coroutine_yield(void *arg)
 
 gboolean coroutine_is_main(struct coroutine *co)
 {
-    return (co == &leader);
+       return (co == &leader);
 }
 /*
  * Local variables:
-- 
2.20.1

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to