Branch: Tag:

2018-03-21

2018-03-21 16:10:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MultiStatus.Prefixed: Added add_status(string, mapping).

Also added a use of it in recurse_delete_files().

Fixes missing lock-token-submitted when attempting to delete
locked files.

1498:    // in the 207 (Multi-Status). The reason for this prohibition    // is that 204 (No Content) is the default success code.    if (sizeof (sub_res) && sub_res->error != 204) { -  stat->add_status(fname, sub_res->error, sub_res->rettext); +  stat->add_status(fname, sub_res);    }    if (!sizeof (sub_res) || sub_res->error >= 300) fail = 1;    }