src/server/safs/objecttype.c

changeset 428
ab58e46b50a5
parent 415
d938228c382e
child 466
019c22775f7c
--- a/src/server/safs/objecttype.c	Sat Nov 12 17:00:16 2022 +0100
+++ b/src/server/safs/objecttype.c	Sat Nov 12 17:28:32 2022 +0100
@@ -42,7 +42,7 @@
     cxstring ct;
     if(path.ptr[path.length - 1] == '/') {
         // directory
-        ct = (cxstring)CX_STR("internal/directory");
+        ct = (cxstring)CX_STR(OBJTYPE_INTERNAL_DIRECTORY);
     } else {
         cxstring ext;
         ext.length = 0;

mercurial