Closed daurnimator closed 9 years ago
PQescape has a single callsite (in conn_escape). IMO it could be improved upon (and possibly even removed entirely):
PQescape
conn_escape
syslog
strlcpy
conn == NULL
char buf[1024];
This was fixed in commit 92893375c629f0bf583510f6f5ff98a5193a97ed
PQescape
has a single callsite (inconn_escape
). IMO it could be improved upon (and possibly even removed entirely):syslog
calls (and hence dependency)strlcpy
calls (and hence dependency on libbsd on linux)conn == NULL
branch, as the callsite always provides a connection objectchar buf[1024];
) inconn_escape