From f16943392e7c3049a9b20e9cf29be9d423be981f Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 22 Jan 2002 17:34:13 +0000 Subject: [w3m-dev 02889] fix scripts/multipart/multipart.cgi.in * scripts/multipart/multipart.cgi.in: return "" instead of next From: Hironori Sakamoto --- scripts/multipart/multipart.cgi.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/multipart') diff --git a/scripts/multipart/multipart.cgi.in b/scripts/multipart/multipart.cgi.in index 7244e48..11c1370 100644 --- a/scripts/multipart/multipart.cgi.in +++ b/scripts/multipart/multipart.cgi.in @@ -250,7 +250,7 @@ sub form_decode { sub guess_type { local($_) = @_; - /\.(\w+)$/ || next; + /\.(\w+)$/ || return ""; $_ = $1; tr/A-Z/a-z/; %mime_type = &load_mime_type($MIME_TYPE); -- cgit v1.2.3