src/server/plugins/postgresql/vfs.c

branch
webdav
changeset 344
70a9b945206a
parent 341
52831b82b3fd
child 345
5832e10fc59a
--- a/src/server/plugins/postgresql/vfs.c	Sun May 08 12:07:58 2022 +0200
+++ b/src/server/plugins/postgresql/vfs.c	Sun May 08 12:27:43 2022 +0200
@@ -433,6 +433,7 @@
     int err = pg_resolve_path(pg->connection, parent_path, &parent_id, &resource_id, &unused_oid, &resname, &iscollection, NULL, &ctx->vfs_errno);
     FREE(parent_path);
     if(err) {
+        ctx->vfs_errno = ENOENT;
         return 1;
     }
     

mercurial