View | Details | Raw Unified | Return to bug 42896
Collapse All | Expand All

(-)modules/dav/main/mod_dav.c (-1 / +2 lines)
Lines 1026-1032 Link Here
1026
        apr_brigade_destroy(bb);
1026
        apr_brigade_destroy(bb);
1027
1027
1028
        err2 = (*resource->hooks->close_stream)(stream,
1028
        err2 = (*resource->hooks->close_stream)(stream,
1029
                                                err == NULL /* commit */);
1029
                                                err == NULL
1030
                                               || mode == DAV_MODE_WRITE_SEEKABLE /* commit */);
1030
        if (err2 != NULL && err == NULL) {
1031
        if (err2 != NULL && err == NULL) {
1031
            /* no error during the write, but we hit one at close. use it. */
1032
            /* no error during the write, but we hit one at close. use it. */
1032
            err = err2;
1033
            err = err2;

Return to bug 42896