1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 17:36:37 +02:00

Fixed bug #1258, more Windows stuff, and more language strings

This commit is contained in:
Adam
2011-03-30 23:59:57 -04:00
parent 8098ed899a
commit 8dec0c1f17
24 changed files with 44 additions and 47 deletions
+2 -2
View File
@@ -789,12 +789,12 @@ bool Anope::Match(const Anope::string &str, const Anope::string &mask, bool case
* @param ... any number of parameters
* @return a Anope::string
*/
Anope::string Anope::printf(const Anope::string &fmt, ...)
Anope::string Anope::printf(const char *fmt, ...)
{
va_list args;
char buf[1024];
va_start(args, fmt);
vsnprintf(buf, sizeof(buf), fmt.c_str(), args);
vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
return buf;
}