diff --git a/imapclient/protocol.go b/imapclient/protocol.go index ab3b4f1..d6fb992 100644 --- a/imapclient/protocol.go +++ b/imapclient/protocol.go @@ -148,7 +148,7 @@ func astring(s string) string { } for _, c := range s { if c <= ' ' || c >= 0x7f || c == '(' || c == ')' || c == '{' || c == '%' || c == '*' || c == '"' || c == '\\' { - stringx(s) + return stringx(s) } } return s