diff options
-rw-r--r-- | toxcore/tox.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 8e368851..d490eb91 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -368,7 +368,7 @@ struct Tox_Options { | |||
368 | * exceed 255 characters, and be in a NUL-terminated C string format | 368 | * exceed 255 characters, and be in a NUL-terminated C string format |
369 | * (255 chars + 1 NUL byte). | 369 | * (255 chars + 1 NUL byte). |
370 | * | 370 | * |
371 | * This member is ignored (it can be NULL) if proxy_enabled is false. | 371 | * This member is ignored (it can be NULL) if proxy_type is TOX_PROXY_TYPE_NONE. |
372 | */ | 372 | */ |
373 | const char *proxy_host; | 373 | const char *proxy_host; |
374 | 374 | ||
@@ -376,7 +376,7 @@ struct Tox_Options { | |||
376 | * The port to use to connect to the proxy server. | 376 | * The port to use to connect to the proxy server. |
377 | * | 377 | * |
378 | * Ports must be in the range (1, 65535). The value is ignored if | 378 | * Ports must be in the range (1, 65535). The value is ignored if |
379 | * proxy_enabled is false. | 379 | * proxy_type is TOX_PROXY_TYPE_NONE. |
380 | */ | 380 | */ |
381 | uint16_t proxy_port; | 381 | uint16_t proxy_port; |
382 | 382 | ||
@@ -1628,7 +1628,7 @@ typedef enum TOX_ERR_FILE_SEND { | |||
1628 | * a file name, not a path with directory names. | 1628 | * a file name, not a path with directory names. |
1629 | * | 1629 | * |
1630 | * If a non-zero file size is provided, this can be used by both sides to | 1630 | * If a non-zero file size is provided, this can be used by both sides to |
1631 | * determine the sending progress. File size can be set to zero for streaming | 1631 | * determine the sending progress. File size can be set to UINT64_MAX for streaming |
1632 | * data of unknown size. | 1632 | * data of unknown size. |
1633 | * | 1633 | * |
1634 | * File transmission occurs in chunks, which are requested through the | 1634 | * File transmission occurs in chunks, which are requested through the |