Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_http_upload.erl')
-rw-r--r--src/mod_http_upload.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl
index c32c189e1..a00d1bccf 100644
--- a/src/mod_http_upload.erl
+++ b/src/mod_http_upload.erl
@@ -28,9 +28,6 @@
-protocol({xep, 363, '0.1'}).
--ifndef(GEN_SERVER).
--define(GEN_SERVER, gen_server).
--endif.
-define(SERVICE_REQUEST_TIMEOUT, 5000). % 5 seconds.
-define(SLOT_TIMEOUT, 18000000). % 5 hours.
-define(FORMAT(Error), file:format_error(Error)).
@@ -62,7 +59,7 @@
{<<".xz">>, <<"application/x-xz">>},
{<<".zip">>, <<"application/zip">>}]).
--behaviour(?GEN_SERVER).
+-behaviour(gen_server).
-behaviour(gen_mod).
%% gen_mod/supervisor callbacks.