summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-06-21 15:31:31 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-06-21 15:31:31 +0000
commit52a0781128842e610d4ab4d34a83bb54c5e0de21 (patch)
tree95e743a59bfb7e35fd4344b9a6ccb184832769e5 /syslogd.c
parent3e38d315739e1d29256756c3be8f2cbd5a8771a9 (diff)
downloadrsyslog-52a0781128842e610d4ab4d34a83bb54c5e0de21.tar.gz
rsyslog-52a0781128842e610d4ab4d34a83bb54c5e0de21.tar.xz
rsyslog-52a0781128842e610d4ab4d34a83bb54c5e0de21.zip
reviewing TODO items and closing those that no longer apply (or are
decided/fixed)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/syslogd.c b/syslogd.c
index 4ad50a86..83ba67d6 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4100,7 +4100,8 @@ static void printchopped(char *hname, char *msg, int len, int fd, int bParseHost
*(pMsg + iMsg++) = '0';
*(pMsg + iMsg++) = '0';
} /* if we do not have space, we simply ignore the '\0'... */
- /* TODO: log an error? Very questionable... rgerhards, 2006-11-30 */
+ /* log an error? Very questionable... rgerhards, 2006-11-30 */
+ /* decided: we do not log an error, it won't help... rger, 2007-06-21 */
++pData;
} else {
*(pMsg + iMsg++) = *pData++;
@@ -5014,8 +5015,7 @@ static int parseLegacySyslogMsg(struct msg *pMsg, int flags)
* TAG, as it is specified in RFC 3164.
*/
/* The following code in general is quick & dirty - I need to get
- * it going for a test, TODO: redo later. rgerhards 2004-11-16 */
- /* TODO: quick and dirty memory allocation */
+ * it going for a test, rgerhards 2004-11-16 */
/* lol.. we tried to solve it, just to remind ourselfs that 32 octets
* is the max size ;) we need to shuffle the code again... Just for
* the records: the code is currently clean, but we could optimize it! */