1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[curl] Show curl version in About dialog as FTPES.

This commit is contained in:
Witold Filipczyk 2023-07-12 17:09:58 +02:00
parent edf2b4b147
commit 97723847f8

View File

@ -55,13 +55,22 @@
#include "util/memory.h"
#include "util/string.h"
static char el_curlversion[256];
static void
init_ftpes(struct module *module)
{
snprintf(el_curlversion, 255, "FTPES(%s)", curl_version());
module->name = el_curlversion;
}
struct module ftpes_protocol_module = struct_module(
/* name: */ N_("FTPES"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,
/* data: */ NULL,
/* init: */ NULL,
/* init: */ init_ftpes,
/* done: */ NULL
);