git-svn: remove assertion that broke with older versions of svn
[gitweb.git] / imap-send.c
index ea56dc9ae5e2110c88a3538a9559a6e6d0adb23c..52e2400b57118e7f9a27c85212e1c539d16add7c 100644 (file)
@@ -1202,6 +1202,7 @@ read_message( FILE *f, msg_data_t *msg )
                        p = xrealloc(msg->data, len+1);
                        if (!p)
                                break;
+                       msg->data = p;
                }
                r = fread( &msg->data[msg->len], 1, len - msg->len, f );
                if (r <= 0)