Commit ac1262fb ac1262fb8a5d845c9e16a9679239142d0bf00522 by Sergey Poznyakoff

mail: bugfix

* mail/mailline.c (ml_readline_internal): Remove trailing \n.
1 parent 4bcd5c9d
...@@ -135,6 +135,7 @@ ml_readline_internal () ...@@ -135,6 +135,7 @@ ml_readline_internal ()
135 } 135 }
136 if (n == 0) 136 if (n == 0)
137 return NULL; 137 return NULL;
138 mu_rtrim_cset (buf, "\n");
138 return buf; 139 return buf;
139 } 140 }
140 141
......