Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | diff -up sblim-sfcb-1.4.9/control.c.orig sblim-sfcb-1.4.9/control.c |
| 2 | --- sblim-sfcb-1.4.9/control.c.orig 2015-07-13 15:06:21.331660336 +0200 |
| 3 | +++ sblim-sfcb-1.4.9/control.c 2015-07-13 15:08:38.031308917 +0200 |
| 4 | @@ -83,7 +83,7 @@ long httpReqHandlerTimeout; |
| 5 | * Kindly null terminate, always, even if might overwrite |
| 6 | * the last char of the truncated string. |
| 7 | */ |
| 8 | -inline char *strncpy_kind(char *to, char *from, size_t size) { |
| 9 | +char *strncpy_kind(char *to, char *from, size_t size) { |
| 10 | strncpy(to, from, size); |
| 11 | *(to + size - 1) = '\0'; |
| 12 | return to; |