[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7610 - libmicrohttpd/src/testcurl
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7610 - libmicrohttpd/src/testcurl |
Date: |
Sun, 24 Aug 2008 16:21:35 -0600 (MDT) |
Author: grothoff
Date: 2008-08-24 16:21:34 -0600 (Sun, 24 Aug 2008)
New Revision: 7610
Modified:
libmicrohttpd/src/testcurl/curl_version_check.c
Log:
cleanup
Modified: libmicrohttpd/src/testcurl/curl_version_check.c
===================================================================
--- libmicrohttpd/src/testcurl/curl_version_check.c 2008-08-24 22:20:59 UTC
(rev 7609)
+++ libmicrohttpd/src/testcurl/curl_version_check.c 2008-08-24 22:21:34 UTC
(rev 7610)
@@ -55,6 +55,8 @@
const char *
parse_version_string (const char *s, int *major, int *minor, int *micro)
{
+ if (!s)
+ return NULL;
*major = parse_version_number (&s);
if (!s || *s != '.')
return NULL;
@@ -64,8 +66,6 @@
return NULL;
s++;
*micro = parse_version_number (&s);
- if (!s)
- return NULL;
return s;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7610 - libmicrohttpd/src/testcurl,
gnunet <=