summaryrefslogtreecommitdiff
path: root/src/encryption.c
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-03-28 17:23:55 -0500
committer@syxhe <https://t.me/syxhe>2025-03-28 17:23:55 -0500
commit97713275dc87ea1d0afa4fd6bc49f695ad40efc0 (patch)
tree3bd1d8c14639808a66b3a5b6e7a27f6a7261cce5 /src/encryption.c
parentcfdd25cdd8efabaa43446036e0ff0c326c001f8f (diff)
Create xalloc function and wrappers, fix XALLOC_EXIT usages to comply with ISO C99
Diffstat (limited to 'src/encryption.c')
-rw-r--r--src/encryption.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encryption.c b/src/encryption.c
index 9b8715e..b75a119 100644
--- a/src/encryption.c
+++ b/src/encryption.c
@@ -206,7 +206,7 @@ void* xsodium_malloc(size_t size) {
206 206
207 void *mem = sodium_malloc(size); 207 void *mem = sodium_malloc(size);
208 if(mem == NULL) 208 if(mem == NULL)
209 XALLOC_EXIT("<xsodium_malloc> could not allocate memory... Quitting"); 209 XALLOC_EXIT("<xsodium_malloc> could not allocate memory... Quitting", );
210 210
211 return mem; 211 return mem;
212} 212}