Imported Upstream version 1.2
[platform/upstream/libunwind.git] / src / unwind / Backtrace.c
index 99c20fc..50f1fb6 100644 (file)
@@ -1,6 +1,6 @@
 /* libunwind - a platform-independent unwind library
    Copyright (C) 2003-2004 Hewlett-Packard Co
-       Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
+        Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
 This file is part of libunwind.
 
@@ -40,15 +40,15 @@ _Unwind_Backtrace (_Unwind_Trace_Fn trace, void *trace_parameter)
   while (1)
     {
       if ((ret = unw_step (&context.cursor)) <= 0)
-       {
-         if (ret == 0)
-           return _URC_END_OF_STACK;
-         else
-           return _URC_FATAL_PHASE1_ERROR;
-       }
+        {
+          if (ret == 0)
+            return _URC_END_OF_STACK;
+          else
+            return _URC_FATAL_PHASE1_ERROR;
+        }
 
       if ((*trace) (&context, trace_parameter) != _URC_NO_REASON)
-       return _URC_FATAL_PHASE1_ERROR;
+        return _URC_FATAL_PHASE1_ERROR;
     }
 }