From: Andre Noll <maan@tuebingen.mpg.de>
Date: Sun, 24 Jul 2016 12:14:34 +0000 (+0200)
Subject: afh_recv: Improve error message of E_AFH_RECV_BAD_FILENAME.
X-Git-Tag: v0.5.7~38
X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=169524e1c52e2dc60c843f7c0b89e2461838df04;p=paraslash.git

afh_recv: Improve error message of E_AFH_RECV_BAD_FILENAME.

This error code is only used if no file name was given, so the old
error message was misleading.
---

diff --git a/error.h b/error.h
index 3d58e630..337160c9 100644
--- a/error.h
+++ b/error.h
@@ -103,7 +103,7 @@ extern const char **para_errlist[];
 
 
 #define AFH_RECV_ERRORS \
-	PARA_ERROR(AFH_RECV_BAD_FILENAME, "invalid file name"), \
+	PARA_ERROR(AFH_RECV_BAD_FILENAME, "no file name given"), \
 
 
 #define OGG_AFH_COMMON_ERRORS \