1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00

Fixed indentation and indented cpp directives

--
This commit is contained in:
Werner Koch 2012-12-19 15:30:17 +01:00
parent d23ec86095
commit 20c95ef258
2 changed files with 62 additions and 58 deletions

View File

@ -1544,9 +1544,11 @@ connect_server (const char *server, unsigned short port,
unsigned int flags, struct http_srv *srv)
{
int sock = -1;
int srvcount = 0, fakesrv = 0;
int srvcount = 0;
int fakesrv = 0;
int hostfound = 0;
int srvindex, connected, chosen=-1;
int srvindex, connected;
int chosen = -1;
int last_errno = 0;
struct srventry *serverlist = NULL;

View File

@ -45,7 +45,8 @@
a modern enough version of libcurl (7.21.3) so we can use
CURLOPT_RESOLVE to feed the resolver from the outside to force
libcurl to pass the right SNI. */
#if defined(HAVE_GETADDRINFO) && defined(HAVE_INET_NTOP) && LIBCURL_VERNUM >= 0x071503
# if (defined(HAVE_GETADDRINFO) && defined(HAVE_INET_NTOP) \
&& LIBCURL_VERNUM >= 0x071503)
# include <sys/types.h>
# include <sys/socket.h>
# include <netdb.h>
@ -75,7 +76,8 @@ static char *proto,*port;
static size_t
curl_mrindex_writer (const void *ptr,size_t size,size_t nmemb,void *stream)
{
static int checked=0,swallow=0;
static int checked = 0;
static int swallow = 0;
if(!checked)
{