missing break in switch
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 10 Mar 2009 11:31:41 +0000 (11:31 +0000)
committerAleš 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

index 347fc19..669d0fd 100644 (file)
@@ -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;