From 2da55bc7236e39b590ed1b2e75b912538e788746 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 12 Jun 2012 23:18:02 +0200 Subject: [PATCH] CURL: just call init once. --- citadel/modules/openid/serv_openid_rp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.30.2