diff options
author | Adam <Adam@anope.org> | 2013-05-20 14:20:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-20 14:20:08 -0400 |
commit | 06a606ea6668d6a5fa506f7de4575eff7c3c8871 (patch) | |
tree | c447d701968aac5bcdbaa8f940ba8e8a3f074f6b | |
parent | 991a6a429bd6abc70c0eac33bcca124b0600cc0f (diff) |
Fixup last commit
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | src/helperfuncs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index de574b6f4..9d6f84474 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -544,7 +544,7 @@ class CoreExport InspIRCd * @return The formatted string */ static const char* Format(const char* formatString, ...) CUSTOM_PRINTF(1, 2); - static const char* Format(const va_list &vaList, const char* formatString) CUSTOM_PRINTF(2, 0); + static const char* Format(va_list &vaList, const char* formatString) CUSTOM_PRINTF(2, 0); static void QuickExit(int status); diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 0673efedf..526b41093 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -420,7 +420,7 @@ unsigned long InspIRCd::Duration(const std::string &str) return total + subtotal; } -const char* InspIRCd::Format(const va_list &vaList, const char* formatString) +const char* InspIRCd::Format(va_list &vaList, const char* formatString) { static std::vector<char> formatBuffer(1024); int vsnret = 0; |