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) ...@@ -224,6 +224,7 @@ restore_envelope (mu_stream_t str, struct _mu_rfc822_message **pmenv)
224 if (buffer[0] == '\n') 224 if (buffer[0] == '\n')
225 break; 225 break;
226 buffer[len] = 0; 226 buffer[len] = 0;
227 offset += len;
227 if (strncasecmp (buffer, MU_HEADER_FROM, 228 if (strncasecmp (buffer, MU_HEADER_FROM,
228 sizeof (MU_HEADER_FROM) - 1) == 0) 229 sizeof (MU_HEADER_FROM) - 1) == 0)
229 from = strdup (skipws (buffer, sizeof (MU_HEADER_FROM))); 230 from = strdup (skipws (buffer, sizeof (MU_HEADER_FROM)));
......