Index: trunk/willow/src/willow/whttp_header.cc |
— | — | @@ -430,7 +430,7 @@ |
431 | 431 | else return -1; |
432 | 432 | |
433 | 433 | _response = str10toint(errcode, codelen); |
434 | | - |
| 434 | + _http_path.reserve(codelen + desclen + 1); |
435 | 435 | _http_path.assign(errcode, errcode + codelen); |
436 | 436 | _http_path += " "; |
437 | 437 | _http_path.append(errdesc, errdesc + desclen); |