summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-09-04 14:18:42 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-09-04 14:18:42 +0200
commit702140afad013a94450397f72fe1a5452178ee1b (patch)
tree66e6b59acd4f4758bf32a77a2f8b4fb30aadba27
parentfcc4d77dd371744530e46a29b7534e89cf8251c4 (diff)
downloadrsyslog-702140afad013a94450397f72fe1a5452178ee1b.tar.gz
rsyslog-702140afad013a94450397f72fe1a5452178ee1b.tar.xz
rsyslog-702140afad013a94450397f72fe1a5452178ee1b.zip
bugfix: error code -2025 was used for two different errors.
Queue full is now -2074 and -2025 is unique again. (did cause no real problem except for troubleshooting)
-rw-r--r--ChangeLog3
-rw-r--r--rsyslog.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b24ac20..a967f4a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@ Version 3.18.4 (rgerhards), 2008-09-??
patch.
- doc bugfix: rsyslog.conf man page improved and minor nit fixed
thanks to Lukas Kuklinek for the patch.
+- bugfix: error code -2025 was used for two different errors. queue full
+ is now -2074 and -2025 is unique again. (did cause no real problem
+ except for troubleshooting)
---------------------------------------------------------------------------
Version 3.18.3 (rgerhards), 2008-08-18
- bugfix: imfile could cause a segfault upon rsyslogd HUP and termination
diff --git a/rsyslog.h b/rsyslog.h
index c73c659c..88429631 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -123,7 +123,6 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_GSS_SEND_ERROR = -2024, /**< error during GSS (via TCP) send process */
RS_RET_TCP_SOCKCREATE_ERR = -2025, /**< error during creation of TCP socket */
RS_RET_GSS_SENDINIT_ERROR = -2024, /**< error during GSS (via TCP) send initialization process */
- RS_RET_QUEUE_FULL = -2025, /**< queue is full, operation could not be completed */
RS_RET_EOF = -2026, /**< end of file reached, not necessarily an error */
RS_RET_IO_ERROR = -2027, /**< some kind of IO error happened */
RS_RET_INVALID_OID = -2028, /**< invalid object ID */
@@ -172,6 +171,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_MAIL_NO_TO = -2071, /**< recipient for mail destination is missing */
RS_RET_MAIL_NO_FROM = -2072, /**< sender for mail destination is missing */
RS_RET_INVALID_PRI = -2073, /**< PRI value is invalid */
+ RS_RET_QUEUE_FULL = -2074, /**< queue is full, operation could not be completed */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */