* SPDX-License-Identifier: curl
*
***************************************************************************/
-/* lib/curl_config.h.in. Generated somehow by cmake. */
/* Location of default ca bundle */
#cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
#include "version_win32.h"
/* "version_win32.h" provides curlx_verify_windows_version() */
-/* Now setup curlx_ * names for the functions that are to become curlx_ and
- be removed from a future libcurl official API:
- curlx_getenv
- curlx_mprintf (and its variations)
- curlx_strcasecompare
- curlx_strncasecompare
-
-*/
-
#endif /* HEADER_CURL_CURLX_H */
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); \
pthread_mutex_init(lock, &attr); \
pthread_mutexattr_destroy(&attr); \
-}while(0)
+} while(0)
#define msh3_lock_uninitialize(lock) pthread_mutex_destroy(lock)
#define msh3_lock_acquire(lock) pthread_mutex_lock(lock)
#define msh3_lock_release(lock) pthread_mutex_unlock(lock)
Curl_ssl_sessionid_lock(data);
result = Curl_ssl_set_sessionid(cf, data, peer, der_session_buf,
- der_session_size, ossl_session_free);
+ der_session_size, ossl_session_free);
Curl_ssl_sessionid_unlock(data);
}
octx->reused_session = TRUE;
}
else {
- Curl_ssl_sessionid_unlock(data);
- return CURLE_SSL_CONNECT_ERROR;
+ Curl_ssl_sessionid_unlock(data);
+ return CURLE_SSL_CONNECT_ERROR;
}
}
Curl_ssl_sessionid_unlock(data);
m4_define([AC_LANG_PROGRAM(C)],
[$1
-int main (void)
+int main(void)
{
$2
;
break;
default:
per->infd = open(per->uploadfile, O_RDONLY | O_BINARY,
- "rfm=stmlf", "ctx=stm");
+ "rfm=stmlf", "ctx=stm");
}
}
if(per->infd == -1)
res = ctx[i].result;
}
else {
- struct curl_slist *item = ctx[i].contents;
- while(item) {
- printf("%s", item->data);
- item = item->next;
- }
+ struct curl_slist *item = ctx[i].contents;
+ while(item) {
+ printf("%s", item->data);
+ item = item->next;
+ }
}
curl_slist_free_all(ctx[i].contents);
}
exit 1;
}
+
#***************************************************************************
# Initialize client sftp config with options actually supported.
#