Skip to content

Commit

Permalink
Silence alert
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB authored Dec 1, 2022
1 parent d9cdff2 commit c4d45fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LoopData.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct alignas(16) LoopData {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
sprintf(date, "%.3s, %.2d %.3s %d %.2d:%.2d:%.2d GMT",
snprintf(date, 32, "%.3s, %.2d %.3s %d %.2d:%.2d:%.2d GMT",
wday_name[tstruct.tm_wday],
tstruct.tm_mday,
mon_name[tstruct.tm_mon],
Expand Down

0 comments on commit c4d45fb

Please sign in to comment.