1
0
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:
Patrick Monnerat 2007-08-24 09:06:17 +00:00
parent 975fafdc49
commit d994fcf2b1
4 changed files with 15 additions and 9 deletions

View File

@ -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());