summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-09-10 17:13:16 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-09-10 17:13:16 +0100
commit7f2ba5f65e5d5a2b7dbd3b944f00abb3e8db70d4 (patch)
treea636c146a81c977a065e5bfeb583dec0080e46e1
parent2c3a7a80dd38c07c190164546f29fbf2d5dc0400 (diff)
downloadrabbitmq-server-7f2ba5f65e5d5a2b7dbd3b944f00abb3e8db70d4.tar.gz
Tabs => spaces
-rw-r--r--src/gen_server2.erl30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gen_server2.erl b/src/gen_server2.erl
index 20f701bd..c5801527 100644
--- a/src/gen_server2.erl
+++ b/src/gen_server2.erl
@@ -957,21 +957,21 @@ terminate(Reason, Msg, #gs2_state { name = Name,
state = State,
debug = Debug }) ->
case catch Mod:terminate(Reason, State) of
- {'EXIT', R} ->
- error_info(R, Reason, Name, Msg, State, Debug),
- exit(R);
- _ ->
- case Reason of
- normal ->
- exit(normal);
- shutdown ->
- exit(shutdown);
- {shutdown,_}=Shutdown ->
- exit(Shutdown);
- _ ->
- error_info(Reason, undefined, Name, Msg, State, Debug),
- exit(Reason)
- end
+ {'EXIT', R} ->
+ error_info(R, Reason, Name, Msg, State, Debug),
+ exit(R);
+ _ ->
+ case Reason of
+ normal ->
+ exit(normal);
+ shutdown ->
+ exit(shutdown);
+ {shutdown,_}=Shutdown ->
+ exit(Shutdown);
+ _ ->
+ error_info(Reason, undefined, Name, Msg, State, Debug),
+ exit(Reason)
+ end
end.
error_info(_Reason, _RootCause, application_controller, _Msg, _State, _Debug) ->