Skip to content

Commit

Permalink
managesieve-login: managesieve_client_input_next_cmd() - Add assert t…
Browse files Browse the repository at this point in the history
…o help static analyzer
  • Loading branch information
sirainen authored and stephanbosch committed Jun 16, 2017
1 parent 26c4a9d commit 3a9e4d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/managesieve-login/client.c
Expand Up @@ -283,6 +283,7 @@ static bool managesieve_client_input_next_cmd(struct client *_client)
/* not enough data */
return FALSE;
}
i_assert(args != NULL);

if (arg_count == 0 ) {
/* we read the entire line - skip over the CRLF */
Expand Down

0 comments on commit 3a9e4d5

Please sign in to comment.