]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
minor cleanup
authorwessels <>
Tue, 7 Apr 1998 04:24:04 +0000 (04:24 +0000)
committerwessels <>
Tue, 7 Apr 1998 04:24:04 +0000 (04:24 +0000)
src/mime.cc

index 6679239f067a0a996fdd6f60a16ce424045a7512..9b8542de77bae83ac6ccdc046512a22d0ea85e4a 100644 (file)
@@ -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);