mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
submodules: fix crash in liblinphone
This commit is contained in:
parent
2030dbb15c
commit
97dd05622b
2 changed files with 4 additions and 12 deletions
|
|
@ -23,11 +23,9 @@
|
|||
|
||||
@implementation LinphoneLogger
|
||||
|
||||
+ (void)logv:(OrtpLogLevel)severity
|
||||
file:(const char *)file
|
||||
line:(int)line
|
||||
format:(NSString *)format
|
||||
args:(va_list)args {
|
||||
+ (void)log:(OrtpLogLevel)severity file:(const char *)file line:(int)line format:(NSString *)format, ... {
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
NSString *str = [[NSString alloc] initWithFormat:format arguments:args];
|
||||
int filesize = 20;
|
||||
if (severity <= ORTP_DEBUG) {
|
||||
|
|
@ -38,12 +36,6 @@
|
|||
ortp_log(severity, "%*s:%3d - %s", filesize, file + MAX((int)strlen(file) - filesize, 0), line,
|
||||
[str UTF8String]);
|
||||
}
|
||||
}
|
||||
|
||||
+ (void)log:(OrtpLogLevel)severity file:(const char *)file line:(int)line format:(NSString *)format, ... {
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
[LinphoneLogger logv:severity file:file line:line format:format args:args];
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 44327da3ec399aa4eb29a4fb93a585bd99c47af5
|
||||
Subproject commit f46f1fbe77630dfa79d58099b7684d6a97e5fa99
|
||||
Loading…
Add table
Reference in a new issue