dav/system.c

changeset 747
efbd59642577
parent 612
66dc8b992d8d
child 789
378b5ab86f77
--- a/dav/system.c	Sun Apr 16 14:12:24 2023 +0200
+++ b/dav/system.c	Fri Apr 21 21:25:32 2023 +0200
@@ -36,7 +36,7 @@
 #include <sys/types.h>
 #include <errno.h>
 
-#include <ucx/string.h>
+#include <cx/string.h>
 
 #ifndef _WIN32
 #include <unistd.h>
@@ -335,8 +335,8 @@
     // however, we interpret .lnk files as symlinks
     int ret = 0;
     
-    scstr_t path_s = scstr(path);
-    if(scstrsuffix(path_s, SC(".lnk"))) {
+    cxstring path_s = cx_str(path);
+    if(cx_strsuffix(path_s, CX_STR(".lnk"))) {
         // looks like a .lnk file
         // check content
         IShellLink *sl;

mercurial