properly rename internal [v]snprintf() functions

Otherwise it clashes when we want to re-introduce the `xmpp_` prefix'ed
versions.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2022-03-03 21:34:07 +01:00
parent a92115ab9f
commit fc6ba89c61
14 changed files with 30 additions and 32 deletions

View File

@@ -76,7 +76,7 @@ sock_t sock_connect(const char *host, unsigned short port)
struct addrinfo *res, *ainfo, hints;
int err;
xmpp_snprintf(service, 6, "%u", port);
strophe_snprintf(service, 6, "%u", port);
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;