mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix the only warning from -Wswitch-enum we had
WebModules.cpp:511: error: enumeration value ‘PAGE_NOTFOUND’ not handled in switch [-Wswitch-enum] git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2179 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -520,6 +520,7 @@ void CWebSock::OnPageRequest(const CString& sURI) {
|
||||
// the connection will be closed
|
||||
Close(CLT_AFTERWRITE);
|
||||
break;
|
||||
case PAGE_NOTFOUND:
|
||||
default:
|
||||
PrintNotFound();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user