Skip to content

Commit

Permalink
set res->status_code
Browse files Browse the repository at this point in the history
  • Loading branch information
ry023 committed Mar 1, 2019
1 parent 2bac942 commit 57c9504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stns.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ static CURLcode inner_http_request(stns_conf_t *c, char *path, stns_response_t *
syslog(LOG_ERR, "%s(stns)[L%d] http request failed: %s", __func__, __LINE__, curl_easy_strerror(result));
res->data = NULL;
res->size = 0;
res->status_code = code;
result = CURLE_HTTP_RETURNED_ERROR;
}

Expand Down

0 comments on commit 57c9504

Please sign in to comment.