diff options
| author | 2022-12-10 14:49:26 +0100 | |
|---|---|---|
| committer | 2022-12-10 14:49:26 +0100 | |
| commit | 7336a8ee3e398d7c7981d1ee247a837f48684446 (patch) | |
| tree | 56f3ee147779173d569f4b1614636cd0c67dd7c5 | |
| parent | Merge pull request 'Ensure that pd variable stays in scope while curl request... (diff) | |
| download | snac2-7336a8ee3e398d7c7981d1ee247a837f48684446.tar.gz snac2-7336a8ee3e398d7c7981d1ee247a837f48684446.tar.xz snac2-7336a8ee3e398d7c7981d1ee247a837f48684446.zip | |
Updated RELEASE_NOTES.
| -rw-r--r-- | RELEASE_NOTES.md | 4 | ||||
| -rw-r--r-- | xs_httpd.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f942610..210d3cc 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | # Release Notes | 1 | # Release Notes |
| 2 | 2 | ||
| 3 | ## 2.15 | ||
| 4 | |||
| 5 | Fixed bug in message posting that may result in 400 Bad Request errors (contributed by tobyjaffey). | ||
| 6 | |||
| 3 | ## 2.14 | 7 | ## 2.14 |
| 4 | 8 | ||
| 5 | Previous posts in the public and private timelines can be reached by a "More..." post at the end (contributed by kensanata). | 9 | 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); | |||
| 74 | d_char *_xs_multipart_form_data(char *payload, int p_size, char *header) | 74 | d_char *_xs_multipart_form_data(char *payload, int p_size, char *header) |
| 75 | /* parses a multipart/form-data payload */ | 75 | /* parses a multipart/form-data payload */ |
| 76 | { | 76 | { |
| 77 | d_char *p_vars = xs_dict_new(); | ||
| 78 | xs *boundary = NULL; | 77 | xs *boundary = NULL; |
| 79 | int offset = 0; | 78 | int offset = 0; |
| 80 | int bsz; | 79 | int bsz; |
| @@ -92,6 +91,8 @@ d_char *_xs_multipart_form_data(char *payload, int p_size, char *header) | |||
| 92 | 91 | ||
| 93 | bsz = strlen(boundary); | 92 | bsz = strlen(boundary); |
| 94 | 93 | ||
| 94 | d_char *p_vars = xs_dict_new(); | ||
| 95 | |||
| 95 | /* iterate searching the boundaries */ | 96 | /* iterate searching the boundaries */ |
| 96 | while ((p = memmem(payload + offset, p_size - offset, boundary, bsz)) != NULL) { | 97 | while ((p = memmem(payload + offset, p_size - offset, boundary, bsz)) != NULL) { |
| 97 | xs *s1 = NULL; | 98 | xs *s1 = NULL; |