mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Updated RELEASE_NOTES.
This commit is contained in:
parent
1de96f2565
commit
7336a8ee3e
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
# Release Notes
|
||||
|
||||
## 2.15
|
||||
|
||||
Fixed bug in message posting that may result in 400 Bad Request errors (contributed by tobyjaffey).
|
||||
|
||||
## 2.14
|
||||
|
||||
Previous posts in the public and private timelines can be reached by a "More..." post at the end (contributed by kensanata).
|
||||
|
|
|
@ -74,7 +74,6 @@ void *memmem(const void *, size_t, const void *, size_t);
|
|||
d_char *_xs_multipart_form_data(char *payload, int p_size, char *header)
|
||||
/* parses a multipart/form-data payload */
|
||||
{
|
||||
d_char *p_vars = xs_dict_new();
|
||||
xs *boundary = NULL;
|
||||
int offset = 0;
|
||||
int bsz;
|
||||
|
@ -92,6 +91,8 @@ d_char *_xs_multipart_form_data(char *payload, int p_size, char *header)
|
|||
|
||||
bsz = strlen(boundary);
|
||||
|
||||
d_char *p_vars = xs_dict_new();
|
||||
|
||||
/* iterate searching the boundaries */
|
||||
while ((p = memmem(payload + offset, p_size - offset, boundary, bsz)) != NULL) {
|
||||
xs *s1 = NULL;
|
||||
|
|
Loading…
Reference in a new issue