(svn r1616) Introduce ttd_strlcat() and use it to de-uglify some piece of code in misc_cmd.
While here rename the len parameter of ttd_strlcpy() to size, because it is a buffer size and not a string length. Also add -Wwrite-strings to the Makefile, because the above mentioned piece of code was the only part which triggered this warning.replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
parent
9a96f5b64e
commit
53d1c3f117
Loading…
Reference in New Issue