mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[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:
@@ -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';
|
||||
|
Reference in New Issue
Block a user