Skip to content

Commit

Permalink
#75: Compiler warning is Version 2.3.0e
Browse files Browse the repository at this point in the history
  • Loading branch information
ballle98 committed May 1, 2024
1 parent 8465d2a commit 257921b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions aq_programmer.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ int RPM_check(pump_type type, int value, struct aqualinkdata *aqdata);
//int RPM_check(int type, int value, struct aqualinkdata *aqdata);
const char *ptypeName(program_type type);
const char *programtypeDisplayName(program_type type);


void force_queue_delete();

#endif
2 changes: 1 addition & 1 deletion mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -9347,7 +9347,7 @@ static void mg_do_ssi_include(struct mg_connection *nc, struct http_message *hm,
*/
if (sscanf(tag, " virtual=\"%[^\"]\"", file_name) == 1) {
/* File name is relative to the webserver root */
snprintf(path, sizeof(path), "%s/%s", opts->document_root, file_name);
snprintf(path, sizeof(path), "%.3070s/%.1024s", opts->document_root, file_name);
} else if (sscanf(tag, " abspath=\"%[^\"]\"", file_name) == 1) {
/*
* File name is relative to the webserver working directory
Expand Down

0 comments on commit 257921b

Please sign in to comment.