Skip to content

Commit

Permalink
Fix h_num on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
colinleroy committed Jan 24, 2025
1 parent 91faaec commit c007d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mastodon/api/c/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void id_copy(char *dst, char *src) {

const surl_response *get_surl_for_endpoint(char method, char *endpoint) {
static char *hdrs[1] = {NULL};
char h_num = 0;
static char h_num = 0;

if (IS_NULL(hdrs[0]) && IS_NOT_NULL(oauth_token)) {
hdrs[0] = malloc0(ENDPOINT_BUF_SIZE);
Expand Down

0 comments on commit c007d25

Please sign in to comment.