X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fstatus.cpp;h=9971ae263d630d5c16f7cd47d87cf441a8dd76f7;hp=0eb25f39dafdc03f27e5c8e066b6679a9c11c819;hb=a4049d7c4126126ca3abd12b1aca8715e7006d44;hpb=070d56e7b0036ca2e4234eb06dcae83ebfb3df34 diff --git a/source/status.cpp b/source/status.cpp index 0eb25f3..9971ae2 100644 --- a/source/status.cpp +++ b/source/status.cpp @@ -16,13 +16,13 @@ ostream &operator<<(ostream &out, Status status) { switch(status) { - case None: out<<"None"; break; + case NONE: out<<"None"; break; case OK: out<<"OK"; break; - case BadRequest: out<<"Bad Request"; break; - case Forbidden: out<<"Forbidden"; break; - case NotFound: out<<"Not Found"; break; - case InternalError: out<<"Internal Error"; break; - case NotImplemented: out<<"Not Implemented"; break; + case BAD_REQUEST: out<<"Bad Request"; break; + case FORBIDDEN: out<<"Forbidden"; break; + case NOT_FOUND: out<<"Not Found"; break; + case INTERNAL_ERROR: out<<"Internal Error"; break; + case NOT_IMPLEMENTED: out<<"Not Implemented"; break; default: out<<"Unknown Status"; break; }