From: Wilfried Goesgens Date: Tue, 12 Jun 2012 21:18:02 +0000 (+0200) Subject: CURL: just call init once. X-Git-Tag: v8.12~16 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=2da55bc7236e39b590ed1b2e75b912538e788746 CURL: just call init once. --- diff --git a/citadel/modules/openid/serv_openid_rp.c b/citadel/modules/openid/serv_openid_rp.c index c8824ccf6..69006e48e 100644 --- a/citadel/modules/openid/serv_openid_rp.c +++ b/citadel/modules/openid/serv_openid_rp.c @@ -1,7 +1,7 @@ /* * This is an implementation of OpenID 2.0 relying party support in stateless mode. * - * Copyright (c) 2007-2011 by the citadel.org team + * Copyright (c) 2007-2012 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1129,7 +1129,7 @@ void cmd_oidf(char *argbuf) { CTDL_MODULE_INIT(openid_rp) { if (!threading) { - curl_global_init(CURL_GLOBAL_ALL); +// evcurl call this for us. curl_global_init(CURL_GLOBAL_ALL); /* Only enable the OpenID command set when native mode authentication is in use. */ if (config.c_auth_mode == AUTHMODE_NATIVE) {