summaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-02 03:41:35 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-02 03:41:35 +0000
commit1fa04a440be87079cb32616f4b5eef8af3db61a6 (patch)
tree832bc30debfe89bc48c3ed8aa0a4aad381ac5e37 /lib/net
parentc08069b7232735c2b57dc85ee8546d84fc73a94f (diff)
downloadruby-1fa04a440be87079cb32616f4b5eef8af3db61a6.tar.gz
ruby-1fa04a440be87079cb32616f4b5eef8af3db61a6.tar.xz
ruby-1fa04a440be87079cb32616f4b5eef8af3db61a6.zip
* lib/net/imap.rb (media_subtype): return subtype.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/imap.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index 01d103112..ef99b4c00 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -1256,6 +1256,7 @@ module Net
def media_subtype
$stderr.printf("warning: media_subtype is obsolete.\n")
$stderr.printf(" use subtype instead.\n")
+ return subtype
end
end
@@ -1272,6 +1273,7 @@ module Net
def media_subtype
$stderr.printf("warning: media_subtype is obsolete.\n")
$stderr.printf(" use subtype instead.\n")
+ return subtype
end
end
@@ -1288,6 +1290,7 @@ module Net
def media_subtype
$stderr.printf("warning: media_subtype is obsolete.\n")
$stderr.printf(" use subtype instead.\n")
+ return subtype
end
end
@@ -1302,6 +1305,7 @@ module Net
def media_subtype
$stderr.printf("warning: media_subtype is obsolete.\n")
$stderr.printf(" use subtype instead.\n")
+ return subtype
end
end