summaryrefslogtreecommitdiff
path: root/src/shared.c
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-10-26 01:39:56 -0500
committer@syxhe <https://t.me/syxhe>2025-10-26 01:39:56 -0500
commit27fd79fa995506819d8cabff9dd7303d8ec8bbaa (patch)
treefda2867aa7b227ec81cb43a6012fa31afb6e0c93 /src/shared.c
parent21c168bf02bbab8b473873f0822d68859a025c24 (diff)
Fix encryption suite after ripping out cleanup function suite
Diffstat (limited to 'src/shared.c')
-rw-r--r--src/shared.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared.c b/src/shared.c
index 1310ef2..2397bd6 100644
--- a/src/shared.c
+++ b/src/shared.c
@@ -105,10 +105,10 @@ int rwbuf(char **str, unsigned long int initsize, int fd) {
105ERR_rwbuf: 105ERR_rwbuf:
106 if(___VXGG___VERBOSE_ERRORS___) { 106 if(___VXGG___VERBOSE_ERRORS___) {
107 switch (eflag) { 107 switch (eflag) {
108 case 1: WARN(errno, "Could not reallocate enough space for lstr",); 108 case 1: WARN(errno, "Could not reallocate enough space for lstr",); break;
109 case 2: WARN(errno, "Ran into a read() error",); 109 case 2: WARN(errno, "Ran into a read() error",); break;
110 case 3: WARN(errno, "Could not shrink lstr after reading buffer",); 110 case 3: WARN(errno, "Could not shrink lstr after reading buffer",); break;
111 default: WARN(errno, "Ran into some error",); 111 default: WARN(errno, "Ran into some error",); break;
112 } 112 }
113 } 113 }
114 free(lstr); 114 free(lstr);