]>
Commit | Line | Data |
---|---|---|
f31bb7f9 AG |
1 | --- sblim-sfcb-1.4.9/control.c~ 2014-11-25 02:43:10.000000000 +0100 |
2 | +++ sblim-sfcb-1.4.9/control.c 2018-09-29 23:23:00.359541768 +0200 | |
3 | @@ -83,7 +83,7 @@ | |
4 | * Kindly null terminate, always, even if might overwrite | |
5 | * the last char of the truncated string. | |
6 | */ | |
7 | -inline char *strncpy_kind(char *to, char *from, size_t size) { | |
8 | +char *strncpy_kind(char *to, char *from, size_t size) { | |
9 | strncpy(to, from, size); | |
10 | *(to + size - 1) = '\0'; | |
11 | return to; |