314 // if propfind was successful, send the result to the client |
314 // if propfind was successful, send the result to the client |
315 if(ret == REQ_PROCEED) { |
315 if(ret == REQ_PROCEED) { |
316 if(multistatus_send(ms, sn->csd)) { |
316 if(multistatus_send(ms, sn->csd)) { |
317 ret = REQ_ABORTED; |
317 ret = REQ_ABORTED; |
318 } |
318 } |
319 } else { |
319 } else if(rq->status_num < 400 || rq->status_num >= 500) { |
320 log_ereport(LOG_FAILURE, "webdav-propfind: operation failed"); |
320 log_ereport(LOG_FAILURE, "webdav-propfind: operation failed"); |
321 } |
321 } |
322 |
322 |
323 // cleanup |
323 // cleanup |
324 if(propfind->doc) { |
324 if(propfind->doc) { |