You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2022/06/02 02:14:11 UTC

[logging-log4cxx] branch LOGCXX-556 updated: remove commented-out code

This is an automated email from the ASF dual-hosted git repository.

rmiddleton pushed a commit to branch LOGCXX-556
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/LOGCXX-556 by this push:
     new d7451d46 remove commented-out code
d7451d46 is described below

commit d7451d46019788da509675c71180275a7429fc99
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Wed Jun 1 22:14:05 2022 -0400

    remove commented-out code
---
 src/main/cpp/syslogappender.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/main/cpp/syslogappender.cpp b/src/main/cpp/syslogappender.cpp
index 0f192dbe..f7896e94 100644
--- a/src/main/cpp/syslogappender.cpp
+++ b/src/main/cpp/syslogappender.cpp
@@ -327,12 +327,7 @@ void SyslogAppender::append(const spi::LoggingEventPtr& event, Pool& p)
 
 		while ( start != msg.end() )
 		{
-			LogString::iterator end;// = start + maxMessageLength - 12;
-
-//			if ( end > msg.end() )
-//			{
-//				end = msg.end();
-//			}
+			LogString::iterator end;
 
 			if( msg.size() > (maxMessageLength - MINIMUM_MESSAGE_SIZE) ) {
 				end = msg.end();