Skip to content

Commit

Permalink
WIP addressing #162, #150
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuahin committed Feb 15, 2024
1 parent cd5120d commit 5d933ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/outfile/swmm_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ void errorLookup(int errcode, char *dest_msg, int dest_len)
}

#ifdef _MSC_VER
strncpy_s(dest_msg, MAXMSG, msg);
strncpy_s(dest_msg, MAXMSG, msg, MAXMSG);
#else
strncpy(est_msg, msg, MAXMSG);
#endif
Expand Down

0 comments on commit 5d933ae

Please sign in to comment.