quick fix for Squid-1.1.1[67] FTPGET

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 24 Oct 97 10:54:24 -0700

This patch was submitted by both

    Yoshitane Tachibana <tatibana@kurara.nbg.oki.co.jp>, and
    Christian Grimm <grimm@rvs.uni-hannover.de>

*** src/ftpget.c Wed Oct 8 19:13:42 1997
--- src/ftpget.c.cg Fri Oct 24 16:36:08 1997
***************
*** 930,935 ****
--- 930,938 ----
        (void) 0;
      else
        goto mime_get_type_done;
+
+ if (!(t = strrchr(filename, '.')))
+ goto mime_get_type_done;
      xfree(ext);
      ext = xstrdup(t + 1);
      for (i = 0; i < EXT_TABLE_LEN; i++) {

Duane W.
Received on Fri Oct 24 1997 - 10:58:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:20 MST