diff options
author | Pixel <pixel@nobis-crew.org> | 2012-03-08 07:25:07 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2012-03-08 07:25:07 -0800 |
commit | 85e533ca87fff1b7ab40bd87a3a44b6969eefd13 (patch) | |
tree | e302bf5386559616b9ec73146bed5ebd9d226c7d /src | |
parent | fe9d7d7065493badb3a8b3bc2d7f16ee903934ca (diff) |
Securing the getStatusMsg call to never return NULL.
Diffstat (limited to 'src')
-rw-r--r-- | src/Http.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Http.cc b/src/Http.cc index 1a731b2..4e3e2a6 100644 --- a/src/Http.cc +++ b/src/Http.cc @@ -44,5 +44,5 @@ const char * Balau::Http::getStatusMsg(int httpStatus) { case 504: return "Gateway Timeout"; case 505: return "HTTP Version Not Supported"; } - return NULL; + return "Unknown HTTP code"; } |