Xin LI 32e49abef0 - uri is expected to be nul-terminated (strchr used later),
so use strlcpy instead of strncpy.
 - unroll the other two cases of strncpy+\0 to strlcpy.

MFC after:	2 weeks
2015-08-31 06:11:39 +00:00
..
2014-11-25 14:29:10 +00:00
2015-06-13 19:20:56 +00:00