summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-13 19:51:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-13 19:51:13 +0300
commit4aac2e2129f91cc77c32b70490468c640d4e2854 (patch)
treefb1b22dd6874bc5ae4fb0e853f6c0d505f5eddae /src/utils/stringutils.cpp
parentcbf9ac0e7517e9aac60cb167cb60f860839fb433 (diff)
downloadmv-4aac2e2129f91cc77c32b70490468c640d4e2854.tar.gz
mv-4aac2e2129f91cc77c32b70490468c640d4e2854.tar.bz2
mv-4aac2e2129f91cc77c32b70490468c640d4e2854.tar.xz
mv-4aac2e2129f91cc77c32b70490468c640d4e2854.zip
Fix code style.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 4f3a156cc..74edefba0 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -99,7 +99,7 @@ const char *ipToString(const uint32_t address)
std::string strprintf(const char *const format, ...)
{
char buf[257];
- va_list(args);
+ va_list args;
va_start(args, format);
size_t nb = vsnprintf(buf, 256, format, args);
buf[256] = 0;