diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-04-06 14:36:43 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-04-06 14:36:43 +0200 |
commit | c46405e02d4701275b692a5707366f484cb911b4 (patch) | |
tree | 5d4324a82b8935e2d969b7294993b275791446ac /FICS | |
parent | 5861a94b6afa2ebb8f31857a2fa571899ef00823 (diff) |
file -> fname
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 60d5485..ef92389 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -418,7 +418,7 @@ psend_raw_file(int p, const char *dir, const char *file) } if (ferror(fp)) { - warnx("%s: %s: the error indicator is set", __func__, file); + warnx("%s: %s: the error indicator is set", __func__, fname); fclose(fp); return -1; } @@ -456,7 +456,8 @@ psend_file(int p, const char *dir, const char *file) if (!feof(fp)) { if (ferror(fp)) { - warnx("%s: %s: the error indicator is set", __func__, file); + warnx("%s: %s: the error indicator is set", __func__, + fname); fclose(fp); return -1; } |