summaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-06 05:20:25 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-06 05:20:25 +0000
commit77e286f4cd2dba6e57c7c52d910bc7de8980abb9 (patch)
tree07508a4fc8a6391b5c875a8ccc698f8156645a19 /lib/net
parentea2792e422b9e668897d70e280c4806968244c3f (diff)
downloadruby-77e286f4cd2dba6e57c7c52d910bc7de8980abb9.tar.gz
ruby-77e286f4cd2dba6e57c7c52d910bc7de8980abb9.tar.xz
ruby-77e286f4cd2dba6e57c7c52d910bc7de8980abb9.zip
* lib/net/imap.rb (getquota_response): use astring for mailbox
names. * lib/net/imap.rb (getacl_response): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/imap.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index 8445e2cda..a74b3a783 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -1980,8 +1980,7 @@ module Net
token = match(T_ATOM)
name = token.value.upcase
match(T_SPACE)
- token = match(T_ATOM)
- mailbox = token.value
+ mailbox = astring
match(T_SPACE)
match(T_LPAR)
match(T_ATOM)
@@ -2000,8 +1999,7 @@ module Net
token = match(T_ATOM)
name = token.value.upcase
match(T_SPACE)
- token = match(T_ATOM)
- mailbox = token.value
+ mailbox = astring
token = lookahead
if token.symbol == T_SPACE
shift_token