mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-25 15:27:03 +01:00
Fixed indentation and indented cpp directives
--
This commit is contained in:
parent
d23ec86095
commit
20c95ef258
@ -1544,9 +1544,11 @@ connect_server (const char *server, unsigned short port,
|
|||||||
unsigned int flags, struct http_srv *srv)
|
unsigned int flags, struct http_srv *srv)
|
||||||
{
|
{
|
||||||
int sock = -1;
|
int sock = -1;
|
||||||
int srvcount = 0, fakesrv = 0;
|
int srvcount = 0;
|
||||||
|
int fakesrv = 0;
|
||||||
int hostfound = 0;
|
int hostfound = 0;
|
||||||
int srvindex, connected, chosen=-1;
|
int srvindex, connected;
|
||||||
|
int chosen = -1;
|
||||||
int last_errno = 0;
|
int last_errno = 0;
|
||||||
struct srventry *serverlist = NULL;
|
struct srventry *serverlist = NULL;
|
||||||
|
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
a modern enough version of libcurl (7.21.3) so we can use
|
a modern enough version of libcurl (7.21.3) so we can use
|
||||||
CURLOPT_RESOLVE to feed the resolver from the outside to force
|
CURLOPT_RESOLVE to feed the resolver from the outside to force
|
||||||
libcurl to pass the right SNI. */
|
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/types.h>
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
# include <netdb.h>
|
# include <netdb.h>
|
||||||
@ -75,7 +76,8 @@ static char *proto,*port;
|
|||||||
static size_t
|
static size_t
|
||||||
curl_mrindex_writer (const void *ptr,size_t size,size_t nmemb,void *stream)
|
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)
|
if(!checked)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user