Skip to content

Commit

Permalink
Added a note for if errors arise
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Dimsey committed May 25, 2023
1 parent ab1d623 commit 249d054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions promhttp/src/promhttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ void promhttp_set_active_collector_registry(prom_collector_registry_t *active_re
}
}

/* Might need to return `enum MHD_Result` depending on which microhttpd version was installed */
int promhttp_handler(void *cls, struct MHD_Connection *connection, const char *url, const char *method,
const char *version, const char *upload_data, size_t *upload_data_size, void **con_cls) {
if (strcmp(method, "GET") != 0) {
Expand Down

0 comments on commit 249d054

Please sign in to comment.