diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/fetch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c index 331b5f430..807e811c4 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -804,7 +804,9 @@ fetch_multipart_data_new_kv(struct fetch_multipart_data **list, void fetch_send_callback(const fetch_msg *msg, struct fetch *fetch) { - fetch->last_msg = msg->type; + /* Bump the last_msg to the greatest seen msg */ + if (msg->type > fetch->last_msg) + fetch->last_msg = msg->type; fetch->callback(msg, fetch->p); } |