summaryrefslogtreecommitdiff
path: root/IvyProbe
diff options
context:
space:
mode:
Diffstat (limited to 'IvyProbe')
-rw-r--r--IvyProbe/IvyProbeDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/IvyProbe/IvyProbeDlg.cpp b/IvyProbe/IvyProbeDlg.cpp
index d64c616..b29fd72 100644
--- a/IvyProbe/IvyProbeDlg.cpp
+++ b/IvyProbe/IvyProbeDlg.cpp
@@ -239,7 +239,7 @@ void CIvyProbeDlg::WriteMessage(const char *format, ...)
// format and write the data we were given
va_list args;
va_start(args, format);
- vsprintf(str, format, args);
+ _vsnprintf(str, sizeof(str), format, args);
m_text.AppendString( str );
}