Line
Link Here
|
0 |
-- src/mod_webdav.c |
0 |
++ src/mod_webdav.c |
Lines 1275-1282
SERVER_FUNC(mod_webdav_worker_init)
Link Here
|
1275 |
* across a fork() system call into the child process. |
1275 |
* across a fork() system call into the child process. |
1276 |
*/ |
1276 |
*/ |
1277 |
plugin_data * const p = (plugin_data *)p_d; |
1277 |
plugin_data * const p = (plugin_data *)p_d; |
1278 |
plugin_config *s = p->config_storage[0]; |
1278 |
for (int i = 0; i < p->nconfig; ++i) { |
1279 |
for (int n_context = p->nconfig+1; --n_context; ++s) { |
1279 |
plugin_config *s = p->config_storage[i]; |
1280 |
if (!buffer_is_empty(s->sqlite_db_name) |
1280 |
if (!buffer_is_empty(s->sqlite_db_name) |
1281 |
&& mod_webdav_sqlite3_prep(s->sql, s->sqlite_db_name, srv->errh) |
1281 |
&& mod_webdav_sqlite3_prep(s->sql, s->sqlite_db_name, srv->errh) |
1282 |
== HANDLER_ERROR) |
1282 |
== HANDLER_ERROR) |