@@ -16,11 +16,10 @@ #include "config.h" #include #include -#include #import "OFURL.h" #import "OFString.h" #import "OFArray.h" #import "OFXMLElement.h" @@ -135,11 +134,11 @@ if ([_scheme isEqual: @"http"]) _port = 80; else if ([_scheme isEqual: @"https"]) _port = 443; else - assert(0); + OF_ENSURE(0); } if ((UTF8String = tmp) != NULL) { if ((tmp = strchr(UTF8String, '#')) != NULL) { *tmp = '\0';