mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
keyserver: Show log prefix when not build with cURL.
* keyserver/ksutil.c (init_ks_options) [!HAVE_LIBCURL]: Set logging prefix. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
3627123dc8
commit
cb2ee2dc50
@ -112,6 +112,12 @@ init_ks_options(void)
|
|||||||
{
|
{
|
||||||
struct ks_options *opt;
|
struct ks_options *opt;
|
||||||
|
|
||||||
|
#ifndef HAVE_LIBCURL
|
||||||
|
/* Without cURL we use our own HTTP module which uses our logging
|
||||||
|
subsystem. Thus we need to init that. */
|
||||||
|
log_set_prefix ("gpgkeys", JNLIB_LOG_WITH_PREFIX);
|
||||||
|
#endif /*!HAVE_LIBCURL*/
|
||||||
|
|
||||||
opt=calloc(1,sizeof(struct ks_options));
|
opt=calloc(1,sizeof(struct ks_options));
|
||||||
|
|
||||||
if(opt)
|
if(opt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user