mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 11:26:35 +01:00
Update astylerc to match toxcore & reformat all source files
This commit is contained in:
@@ -36,8 +36,9 @@
|
||||
*/
|
||||
int set_curl_proxy(CURL *c_handle, const char *proxy_address, uint16_t port, uint8_t proxy_type)
|
||||
{
|
||||
if (proxy_type == TOX_PROXY_TYPE_NONE)
|
||||
if (proxy_type == TOX_PROXY_TYPE_NONE) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (proxy_address == NULL || port == 0) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user