diff options
Diffstat (limited to 'lib/version.c')
-rw-r--r-- | lib/version.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/version.c b/lib/version.c index ae2b09d31..c9ccd8c93 100644 --- a/lib/version.c +++ b/lib/version.c @@ -104,14 +104,12 @@ char *curl_version(void) left -= len; ptr += len; - if(left > 1) { - len = Curl_ssl_version(ptr + 1, left - 1); + len = Curl_ssl_version(ptr + 1, left - 1); - if(len > 0) { - *ptr = ' '; - left -= ++len; - ptr += len; - } + if(len > 0) { + *ptr = ' '; + left -= ++len; + ptr += len; } #ifdef HAVE_LIBZ |