--- a/libidav/davqlexec.c Tue Mar 26 17:59:45 2019 +0100
+++ b/libidav/davqlexec.c Tue Mar 26 18:02:40 2019 +0100
@@ -754,7 +754,7 @@
int numcmd = 1;
DavQLCmd cmd;
- memset(&cmd, sizeof(DavQLCmd), 0);
+ memset(&cmd, 0, sizeof(DavQLCmd));
davqlerror_t error;
sstr_t src = expr->srctext;