File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ func (cmd *Subscribe) Command() *imap.Command {
2222}
2323
2424func (cmd * Subscribe ) Parse (fields []interface {}) error {
25- if len (fields ) < 0 {
25+ if len (fields ) < 1 {
2626 return errors .New ("No enough arguments" )
2727 }
2828
@@ -50,7 +50,7 @@ func (cmd *Unsubscribe) Command() *imap.Command {
5050}
5151
5252func (cmd * Unsubscribe ) Parse (fields []interface {}) error {
53- if len (fields ) < 0 {
53+ if len (fields ) < 1 {
5454 return errors .New ("No enogh arguments" )
5555 }
5656
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func (cmd *Uid) Command() *imap.Command {
2626}
2727
2828func (cmd * Uid ) Parse (fields []interface {}) error {
29- if len (fields ) < 0 {
29+ if len (fields ) < 1 {
3030 return errors .New ("No command name specified" )
3131 }
3232
You can’t perform that action at this time.
0 commit comments