mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-26 15:16:21 +00:00
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:
@@ -61,7 +61,7 @@
|
||||
|
||||
/* JAM: we don't need this - #include "config.h" */
|
||||
|
||||
/* JAM: changed declarations to xmpp_snprintf and xmpp_vsnprintf to
|
||||
/* JAM: changed declarations to strophe_snprintf and strophe_vsnprintf to
|
||||
avoid namespace collision. */
|
||||
|
||||
#include "snprintf.h"
|
||||
@@ -722,7 +722,7 @@ int strophe_snprintf(char *str, size_t count, const char *fmt, ...)
|
||||
int total;
|
||||
|
||||
VA_START(fmt);
|
||||
total = xmpp_vsnprintf(str, count, fmt, ap);
|
||||
total = strophe_vsnprintf(str, count, fmt, ap);
|
||||
VA_END;
|
||||
return total;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user