--- a/src/server/daemon/webserver.c Wed Nov 02 19:19:01 2022 +0100 +++ b/src/server/daemon/webserver.c Sun Nov 06 15:53:32 2022 +0100 @@ -48,7 +48,9 @@ #include "../util/pblock.h" #include "../util/util.h" -#include <ucx/utils.h> +#include <cx/utils.h> +#include <cx/printf.h> +#include <cx/compare.h> #include "../safs/common.h" @@ -200,7 +202,7 @@ free(pid_file_path); // create unix domain socket for server control - sstr_t tmp_priv = ucx_sprintf("%s/private", cfg->tmp.ptr); + cxmutstr tmp_priv = cx_asprintf("%s/private", cfg->tmp.ptr); // TODO: remove existing private dir if(mkdir(tmp_priv.ptr, S_IRWXU)) { if(errno == EEXIST) {