aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-11-18 13:09:47 +0000
committerWerner Koch <[email protected]>2013-11-18 13:09:47 +0000
commitcc9a0b69b698ba436eaf777e5020532845b56236 (patch)
treecb2274c3d97fffa7020cb1e5a56373935ee094b2 /keyserver/curl-shim.h
parentAdd strusage macro replacement feature. (diff)
downloadgnupg-cc9a0b69b698ba436eaf777e5020532845b56236.tar.gz
gnupg-cc9a0b69b698ba436eaf777e5020532845b56236.zip
Make use of the *_NAME etc macros.
Replace hardwired strings at many places with new macros from config.h and use the new strusage macro replacement feature. * common/asshelp.c (lock_spawning) [W32]: Change the names of the spawn sentinels. * agent/command.c (cmd_import_key): Use asprintf to create the prompt.
Diffstat (limited to '')
-rw-r--r--keyserver/curl-shim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyserver/curl-shim.h b/keyserver/curl-shim.h
index e37d81675..0a11e7cd9 100644
--- a/keyserver/curl-shim.h
+++ b/keyserver/curl-shim.h
@@ -82,7 +82,7 @@ typedef struct
typedef struct
{
const char **protocols;
-} curl_version_info_data;
+} curl_version_info_data;
#define CURL_ERROR_SIZE 256
#define CURL_GLOBAL_DEFAULT 0
@@ -96,7 +96,7 @@ CURLcode curl_easy_perform(CURL *curl);
void curl_easy_cleanup(CURL *curl);
char *curl_escape(char *str,int len);
#define curl_free(x) free(x)
-#define curl_version() "GnuPG curl-shim"
+#define curl_version() GNUPG_NAME" curl-shim"
curl_version_info_data *curl_version_info(int type);
struct curl_slist