Replace strlcpy() with evutil_snprintf() in evhttp

Get rid of strlcpy() and its implementation entirely, it doesn't buy anything
over snprintf(). Use evutil_snprintf() so as to match the rest of the code.
This commit is contained in:
Julien BLACHE
2010-01-26 17:54:45 +01:00
parent 98cb978b9b
commit 4701817333
4 changed files with 12 additions and 103 deletions

View File

@@ -37,8 +37,8 @@ forked_daapd_SOURCES = main.c \
filescanner_ffmpeg.c filescanner_urlfile.c filescanner_m3u.c $(ITUNESSRC) \
mdns_avahi.c mdns_avahi.h \
remote_pairing.c remote_pairing.h \
evhttp/http.c evhttp/evhttp.h evhttp/strlcpy.c \
evhttp/http-internal.h evhttp/log.h evhttp/strlcpy-internal.h \
evhttp/http.c evhttp/evhttp.h \
evhttp/http-internal.h evhttp/log.h \
httpd.c httpd.h \
httpd_rsp.c httpd_rsp.h \
httpd_daap.c httpd_daap.h \