diff options
author | Werner Koch <[email protected]> | 2018-12-11 12:24:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-12-11 12:40:26 +0000 |
commit | b9d71ea64a694582739c18cfef9621b36d5371e9 (patch) | |
tree | 15be29cfe7fb479aea5021b2800ff9eccd8b3bbb /dirmngr/http.h | |
parent | gpg: In search-keys return "Not found" instead of "No Data". (diff) | |
download | gnupg-b9d71ea64a694582739c18cfef9621b36d5371e9.tar.gz gnupg-b9d71ea64a694582739c18cfef9621b36d5371e9.zip |
dirmngr: New function http_status2string.
* dirmngr/http.c (http_status2string): New.
--
Right now only the standard 5xx codes.
Signed-off-by: Werner Koch <[email protected]>
(cherry picked from commit dc61f4ecea5c9815cb00aeb25439978337c1fd64)
Diffstat (limited to '')
-rw-r--r-- | dirmngr/http.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/http.h b/dirmngr/http.h index a0458f87c..2bad63d22 100644 --- a/dirmngr/http.h +++ b/dirmngr/http.h @@ -197,5 +197,7 @@ gpg_error_t http_prepare_redirect (http_redir_info_t *info, unsigned int status_code, const char *location, char **r_url); +const char *http_status2string (unsigned int status); + #endif /*GNUPG_COMMON_HTTP_H*/ |