[format]: change astyle setting

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@107 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-14 06:37:10 +00:00
parent cbf53d2929
commit 69ffb507db
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ void __mpp_log(mpp_log_callback func, const char *tag, const char *fmt, va_list
} else if (len == MPP_LOG_MAX_LEN) {
buf = msg_log_warning;
} else if (fmt[len - 1] != '\n') {
char msg[MPP_LOG_MAX_LEN+1];
char msg[MPP_LOG_MAX_LEN + 1];
snprintf(msg, sizeof(msg), "%s", fmt);
msg[len] = '\n';
msg[len + 1] = '\0';