]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
mime.c
authorwessels <>
Sat, 14 Feb 1998 02:59:01 +0000 (02:59 +0000)
committerwessels <>
Sat, 14 Feb 1998 02:59:01 +0000 (02:59 +0000)
src/mime.cc

index 9e877fab1f086af87a210b4215e3c13467957b41..9ba779a9c5f818f27a0e3d714dcb7f3bef3115cd 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mime.cc,v 1.48 1998/02/13 17:55:19 wessels Exp $
+ * $Id: mime.cc,v 1.49 1998/02/13 19:59:01 wessels Exp $
  *
  * DEBUG: section 25    MIME Parsing
  * AUTHOR: Harvest Derived
@@ -377,10 +377,14 @@ mimeInit(char *filename)
            m->transfer_mode = 'I';
        *MimeTableTail = m;
        MimeTableTail = &m->next;
-       mimeLoadIconFile(m->icon);
        debug(25, 5) ("mimeInit: added '%s'\n", buf);
     }
     fclose(fp);
+    /*
+     * Create Icon StoreEntry's
+     */
+    for (m = MimeTable; m != NULL; m = m->next)
+       mimeLoadIconFile(m->icon);
     mimeLoadIconFile(ICON_MENU);
     mimeLoadIconFile(ICON_DIRUP);
     mimeLoadIconFile(ICON_LINK);