diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/imap.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 8445e2cda8..a74b3a7834 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 |