git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7068c16
)
missing break in switch
author
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 10 Mar 2009 11:31:41 +0000
(11:31 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 10 Mar 2009 11:31:41 +0000
(11:31 +0000)
org.glite.lb.client/src/stat_fields.cpp
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/stat_fields.cpp
b/org.glite.lb.client/src/stat_fields.cpp
index
347fc19
..
669d0fd
100644
(file)
--- a/
org.glite.lb.client/src/stat_fields.cpp
+++ b/
org.glite.lb.client/src/stat_fields.cpp
@@
-41,6
+41,7
@@
static std::string & escape(std::string &s)
for (std::string::iterator p = s.begin(); p < s.end(); p++) switch (*p) {
case '\n':
s.insert(p-s.begin(),"\\"); *(++p) = 'n';
+ break;
case '\t':
s.insert(p-s.begin(),"\\"); *(++p) = 't';
break;