summaryrefslogtreecommitdiff
path: root/src/shared.c
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-03-30 23:13:35 -0500
committer@syxhe <https://t.me/syxhe>2025-03-30 23:13:35 -0500
commit833cb417608eb138d3a9b99dc995c5c1aeffd1cd (patch)
tree9698c034adb7e5124e91ac79b8eb4d68b047a0f9 /src/shared.c
parent97713275dc87ea1d0afa4fd6bc49f695ad40efc0 (diff)
Create encryption functions that actually work
Diffstat (limited to 'src/shared.c')
-rw-r--r--src/shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared.c b/src/shared.c
index 771c44f..093e766 100644
--- a/src/shared.c
+++ b/src/shared.c
@@ -137,7 +137,7 @@ int wwbuf(int fd, const unsigned char *buf, int len) {
137 // Thanks Beej! 137 // Thanks Beej!
138 138
139// dirname but less retarded hopefully 139// dirname but less retarded hopefully
140char *xdirname(const char * const path) { 140char * xdirname(const char * const path) {
141 char *tmp = NULL; 141 char *tmp = NULL;
142 if(!path) { // Path being null is a special case which should return super early, before anything else 142 if(!path) { // Path being null is a special case which should return super early, before anything else
143 tmp = strdup("."); 143 tmp = strdup(".");