* mu-msg-part.c, mu-msg-sexp.c: handle parts with unknown (or zero) size
correctly, set :size to -1 so front-end can deal with it appropriately.
This commit is contained in:
@ -49,8 +49,8 @@ struct _MuMsgPart {
|
||||
/* usually, "attachment" or "inline" */
|
||||
char *disposition;
|
||||
|
||||
/* size of the part; or <= 0 if unknown */
|
||||
size_t size;
|
||||
/* size of the part; or < 0 if unknown */
|
||||
ssize_t size;
|
||||
|
||||
gpointer data; /* opaque data */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user