aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-04-06 14:36:43 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-04-06 14:36:43 +0200
commitc46405e02d4701275b692a5707366f484cb911b4 (patch)
tree5d4324a82b8935e2d969b7294993b275791446ac /FICS
parent5861a94b6afa2ebb8f31857a2fa571899ef00823 (diff)
file -> fname
Diffstat (limited to 'FICS')
-rw-r--r--FICS/utils.c5
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;
}