(delete_to_string): Make sure the message
set does not end with a comma. Bug reported by Gerd Flaig, I suppose.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -2263,9 +2263,12 @@ delete_to_string (m_imap_t m_imap, char **pset) | ... | @@ -2263,9 +2263,12 @@ delete_to_string (m_imap_t m_imap, char **pset) |
2263 | } | 2263 | } |
2264 | } /* for () */ | 2264 | } /* for () */ |
2265 | 2265 | ||
2266 | if (start) | ||
2267 | { | ||
2266 | status = add_number (&set, start, cur); | 2268 | status = add_number (&set, start, cur); |
2267 | if (status != 0) | 2269 | if (status != 0) |
2268 | return status; | 2270 | return status; |
2271 | } | ||
2269 | *pset = set; | 2272 | *pset = set; |
2270 | return 0; | 2273 | return 0; |
2271 | } | 2274 | } | ... | ... |
-
Please register or sign in to post a comment