summaryrefslogtreecommitdiff
path: root/https_server_structs.h
diff options
context:
space:
mode:
authorstderr64 <stderr64@null.net>2024-05-15 22:09:40 +0300
committerstderr64 <stderr64@null.net>2024-05-15 22:09:40 +0300
commitbcb07c7207b1194cf032ed8f0f841b3c3e57367b (patch)
tree5b06fa8a28af0311e32a9f5fd98eafeaebf8e0b1 /https_server_structs.h
parent2d22f149180ba28186cf142ec30dc91c841d0328 (diff)
downloadCWebHook-master.tar.gz
CWebHook-master.tar.zst
Change long long int to int64_t and ssize_tHEADmaster
Because long long int is bad idea, using int64_t and ssize_t it can at least be expected that the max and minimum values are for each
Diffstat (limited to 'https_server_structs.h')
-rw-r--r--https_server_structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/https_server_structs.h b/https_server_structs.h
index 09b7074..e00db97 100644
--- a/https_server_structs.h
+++ b/https_server_structs.h
@@ -6,8 +6,8 @@ typedef struct server_socket{
struct pollfd pstruct[1];
SSL *tls_session;
SSL_CTX *tls_context;
- long long int recv_pending_bytes;
- long long int recv_read_bytes;
+ int64_t recv_pending_bytes;
+ int64_t recv_read_bytes;
char *recv_peek;
char *recv_data;
char *send_buffer;