From: wessels <> Date: Tue, 7 Apr 1998 04:24:04 +0000 (+0000) Subject: minor cleanup X-Git-Tag: SQUID_3_0_PRE1~3616 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c36ffce6242ffd837a5a54b59f92d96343b9e2;p=thirdparty%2Fsquid.git minor cleanup --- diff --git a/src/mime.cc b/src/mime.cc index 6679239f06..9b8542de77 100644 --- a/src/mime.cc +++ b/src/mime.cc @@ -1,6 +1,6 @@ /* - * $Id: mime.cc,v 1.60 1998/04/05 02:34:58 rousskov Exp $ + * $Id: mime.cc,v 1.61 1998/04/06 22:24:04 wessels Exp $ * * DEBUG: section 25 MIME Parsing * AUTHOR: Harvest Derived @@ -145,8 +145,9 @@ mime_get_header_field(const char *mime, const char *name, const char *prefix) const int preflen = prefix ? strlen(prefix) : 0; int l; - if (!mime || !name) + if (NULL == mime) return NULL; + assert(NULL != name); debug(25, 5) ("mime_get_header: looking for '%s'\n", name);