diff options
| -rw-r--r-- | data.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -538,8 +538,10 @@ int _object_add(const char *id, d_char *obj, int ow) | |||
| 538 | } | 538 | } |
| 539 | } | 539 | } |
| 540 | } | 540 | } |
| 541 | else | 541 | else { |
| 542 | srv_log(xs_fmt("object_add error writing %s (errno: %d)", fn, errno)); | ||
| 542 | status = 500; | 543 | status = 500; |
| 544 | } | ||
| 543 | 545 | ||
| 544 | srv_debug(1, xs_fmt("object_add %s %s %d", id, fn, status)); | 546 | srv_debug(1, xs_fmt("object_add %s %s %d", id, fn, status)); |
| 545 | 547 | ||