Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit 34314d8

Browse files
committed
log4tango/src/StringUtil.cpp: Remove trailing whitespace
1 parent 40aecac commit 34314d8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

log4tango/src/StringUtil.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//
44
// Copyright (C) : 2000 - 2002
55
// LifeLine Networks BV (www.lifeline.nl). All rights reserved.
6-
// Bastiaan Bakker. All rights reserved.
7-
//
6+
// Bastiaan Bakker. All rights reserved.
7+
//
88
// 2004,2005,2006,2007,2008,2009,2010,2011,2012
99
// Synchrotron SOLEIL
1010
// L'Orme des Merisiers
@@ -16,12 +16,12 @@
1616
// it under the terms of the GNU Lesser General Public License as published by
1717
// the Free Software Foundation, either version 3 of the License, or
1818
// (at your option) any later version.
19-
//
19+
//
2020
// Log4tango is distributed in the hope that it will be useful,
2121
// but WITHOUT ANY WARRANTY; without even the implied warranty of
2222
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2323
// GNU Lesser General Public License for more details.
24-
//
24+
//
2525
// You should have received a copy of the GNU Lesser General Public License
2626
// along with Log4Tango. If not, see <http://www.gnu.org/licenses/>.
2727

@@ -57,22 +57,22 @@ namespace log4tango {
5757
std::string StringUtil::vform(const char* format, va_list args) {
5858
size_t size = 1024;
5959
char* buffer = new char[size];
60-
60+
6161
while (1) {
6262
int n = VSNPRINTF(buffer, size, format, args);
63-
63+
6464
// If that worked, return a string.
6565
if ((n > -1) && (static_cast<size_t>(n) < size)) {
6666
std::string s(buffer);
6767
delete [] buffer;
6868
return s;
6969
}
70-
70+
7171
// Else try again with more space.
7272
size = (n > -1) ?
7373
n + 1 : // ISO/IEC 9899:1999
7474
size * 2; // twice the old size
75-
75+
7676
delete [] buffer;
7777
buffer = new char[size];
7878
}

0 commit comments

Comments
 (0)