Skip to content

Commit

Permalink
Fix format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ortmann committed Aug 31, 2023
1 parent b3479d2 commit 28e752d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/webui.mod/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static void webui_http_activity(int idx, char *buf, int len)
debug0("webui: GET /favicon.ico");
i = snprintf(response, sizeof response,
"HTTP/1.1 200 \r\n" /* textual phrase is OPTIONAL */
"Content-Length: %li\r\n"
"Content-Length: %lu\r\n"
"Content-Type: image/x-icon\r\n"
"Server: Eggdrop/%s+%s\r\n" /* TODO: stealth_telnets */
"\r\n",
Expand Down

0 comments on commit 28e752d

Please sign in to comment.