mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
-fix tests for libmagic (and uncrustify indentation)
This commit is contained in:
@@ -128,7 +128,7 @@ iovec_ahc (void *cls,
|
||||
iov[j].iov_len = TESTSTR_SIZE / TESTSTR_IOVCNT;
|
||||
|
||||
for (i = 0; i < (int) (TESTSTR_IOVLEN / sizeof(int)); ++i)
|
||||
((int*) iov[j].iov_base)[i] = i + (j * TESTSTR_IOVLEN / sizeof(int));
|
||||
((int *) iov[j].iov_base)[i] = i + (j * TESTSTR_IOVLEN / sizeof(int));
|
||||
}
|
||||
|
||||
response = MHD_create_response_from_iovec (iov,
|
||||
|
||||
@@ -55,7 +55,7 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
|
||||
|
||||
if (NULL == *ptr)
|
||||
{
|
||||
*ptr = (void*) &query_session_ahc;
|
||||
*ptr = (void *) &query_session_ahc;
|
||||
return MHD_YES;
|
||||
}
|
||||
|
||||
|
||||
@@ -132,11 +132,11 @@ load_keys (const char *hostname,
|
||||
*/
|
||||
static int
|
||||
sni_callback (gnutls_session_t session,
|
||||
const gnutls_datum_t*req_ca_dn,
|
||||
const gnutls_datum_t *req_ca_dn,
|
||||
int nreqs,
|
||||
const gnutls_pk_algorithm_t*pk_algos,
|
||||
const gnutls_pk_algorithm_t *pk_algos,
|
||||
int pk_algos_length,
|
||||
gnutls_pcert_st**pcert,
|
||||
gnutls_pcert_st **pcert,
|
||||
unsigned int *pcert_length,
|
||||
gnutls_privkey_t *pkey)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user