aboutsummaryrefslogtreecommitdiff
path: root/src/odbc
diff options
context:
space:
mode:
Diffstat (limited to 'src/odbc')
-rw-r--r--src/odbc/ejabberd_odbc.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/odbc/ejabberd_odbc.erl b/src/odbc/ejabberd_odbc.erl
index 64de686cb..da18e0e1c 100644
--- a/src/odbc/ejabberd_odbc.erl
+++ b/src/odbc/ejabberd_odbc.erl
@@ -47,6 +47,7 @@
handle_sync_event/4,
handle_info/3,
terminate/3,
+ print_state/1,
code_change/4]).
%% gen_fsm states
@@ -285,6 +286,13 @@ terminate(_Reason, _StateName, State) ->
end,
ok.
+%%----------------------------------------------------------------------
+%% Func: print_state/1
+%% Purpose: Prepare the state to be printed on error log
+%% Returns: State to print
+%%----------------------------------------------------------------------
+print_state(State) ->
+ State.
%%%----------------------------------------------------------------------
%%% Internal functions
%%%----------------------------------------------------------------------