mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Remove leading space in curl_version_info ss_version field.
This commit is contained in:
parent
975fafdc49
commit
d994fcf2b1
@ -61,9 +61,15 @@ char *curl_version(void)
|
||||
left -= len;
|
||||
ptr += len;
|
||||
|
||||
len = Curl_ssl_version(ptr, left);
|
||||
left -= len;
|
||||
if (left > 1) {
|
||||
len = Curl_ssl_version(ptr + 1, left - 1);
|
||||
|
||||
if (len > 0) {
|
||||
*ptr = ' ';
|
||||
left -= ++len;
|
||||
ptr += len;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
len = snprintf(ptr, left, " zlib/%s", zlibVersion());
|
||||
|
Loading…
Reference in New Issue
Block a user