Commit 54efcaf9 54efcaf924e20c7f908dda9d1af8829d18b707cf by Sergey Poznyakoff

(restore_envelope): Restore line accidentally deleted with the recent changes.

1 parent 3c1b9b8e
......@@ -224,6 +224,7 @@ restore_envelope (mu_stream_t str, struct _mu_rfc822_message **pmenv)
if (buffer[0] == '\n')
break;
buffer[len] = 0;
offset += len;
if (strncasecmp (buffer, MU_HEADER_FROM,
sizeof (MU_HEADER_FROM) - 1) == 0)
from = strdup (skipws (buffer, sizeof (MU_HEADER_FROM)));
......