]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
afh_recv: Improve error message of E_AFH_RECV_BAD_FILENAME.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 24 Jul 2016 12:14:34 +0000 (14:14 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 31 Jul 2016 14:54:52 +0000 (16:54 +0200)
This error code is only used if no file name was given, so the old
error message was misleading.

error.h

diff --git a/error.h b/error.h
index 3d58e63010c730657b7a7167fbd22196bcc984b5..337160c9a6c3d19c33c9192ae95ba7262eba8db6 100644 (file)
--- a/error.h
+++ b/error.h
@@ -103,7 +103,7 @@ extern const char **para_errlist[];
 
 
 #define AFH_RECV_ERRORS \
 
 
 #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 \
 
 
 #define OGG_AFH_COMMON_ERRORS \