imap: Fixed untagged response detection when no data after command
authorSteve Holme <steve_holme@hotmail.com>
Fri, 18 Apr 2014 14:01:57 +0000 (15:01 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 18 Apr 2014 14:01:57 +0000 (15:01 +0100)
commit2c6b41e98a566486877938cfeaba4c946388485a
tree04885e640fa25baec865335de7729bd98ff69616
parent0160cb2e194be3c9eaeb7903998d60bbdf4f8834
imap: Fixed untagged response detection when no data after command

Should a command return untagged responses that contained no data then
the imap_matchresp() function would not detect them as valid responses,
as it wasn't taking the CRLF characters into account at the end of each
line.
lib/imap.c