summaryrefslogtreecommitdiff
path: root/src/Http.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-03-08 07:25:07 -0800
committerPixel <pixel@nobis-crew.org>2012-03-08 07:25:07 -0800
commit85e533ca87fff1b7ab40bd87a3a44b6969eefd13 (patch)
treee302bf5386559616b9ec73146bed5ebd9d226c7d /src/Http.cc
parentfe9d7d7065493badb3a8b3bc2d7f16ee903934ca (diff)
Securing the getStatusMsg call to never return NULL.
Diffstat (limited to 'src/Http.cc')
-rw-r--r--src/Http.cc2
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";
}