diff options
Diffstat (limited to 'src/null.c')
-rw-r--r-- | src/null.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -23,7 +23,7 @@ null_move_file(struct wy_triplet *trp, enum file_type file_id) const char *file_name = trp->file[file_id].name; wy_debug(1, (_("spool %s: installing file `%s/%s'"), spool->tag, trp->relative_dir, file_name)); - increase_stat_counter(WY_STAT_UPLOADS); + wydawca_stat_incr(WY_STAT_UPLOADS); if (!wy_dry_run && unlink(file_name)) { wy_log(LOG_ERR, _("cannot unlink %s: %s"), file_name, strerror(errno)); @@ -37,7 +37,7 @@ null_archive_file(struct wy_triplet *trp, const char *file_name) { wy_debug(1, (_("spool %s: archiving `%s'"), trp->spool->tag, file_name)); - increase_stat_counter(WY_STAT_ARCHIVES); + wydawca_stat_incr(WY_STAT_ARCHIVES); return 0; } @@ -47,7 +47,7 @@ null_symlink_file(struct wy_triplet *trp, { wy_debug(1, (_("spool %s: symlinking `%s' to `%s'"), trp->spool->tag, wanted_src, wanted_dst)); - increase_stat_counter(WY_STAT_SYMLINKS); + wydawca_stat_incr(WY_STAT_SYMLINKS); return 0; } @@ -56,6 +56,6 @@ null_rmsymlink_file(struct wy_triplet *trp, const char *file_name) { wy_debug(1, (_("spool %s: removing symlink `%s/%s'"), trp->spool->tag, trp->relative_dir, file_name)); - increase_stat_counter(WY_STAT_RMSYMLINKS); + wydawca_stat_incr(WY_STAT_RMSYMLINKS); return 0; } |