Ticket #1317: mod_webdav[1].patch
| File mod_webdav[1].patch, 0.8 kB (added by henrik.holst2@…, 13 months ago) |
|---|
-
.c
old new 1963 1963 1964 1964 if (0 == rename(con->physical.path->ptr, p->physical.path->ptr)) { 1965 1965 #ifdef USE_PROPPATCH 1966 sqlite3_stmt *stmt = p->conf.stmt_move_uri; 1966 sqlite3_stmt *stmt = p->conf.stmt_delete_uri; 1967 1968 if (stmt) { 1969 sqlite3_reset(stmt); 1970 1971 /* bind the values to the delete */ 1972 sqlite3_bind_text(stmt, 1, 1973 p->uri.path->ptr, 1974 p->uri.path->used - 1, 1975 SQLITE_TRANSIENT); 1976 1977 if (SQLITE_DONE != sqlite3_step(stmt)) 1978 log_error_write(srv, __FILE__, __LINE__, "ss", "sql-move failed:", sqlite3_errmsg(p->conf.sql)); 1979 } 1980 1981 stmt = p->conf.stmt_move_uri; 1967 1982 1968 1983 if (stmt) { 1969 1984

