mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
Use standard putc_unlocked() instead of fputc_unlocked()
This commit is contained in:
parent
55816ce91d
commit
2ba959747d
@ -351,7 +351,7 @@ static void TextPrint( void *opaque, int type, const msg_item_t *item,
|
||||
flockfile( stream );
|
||||
utf8_fprintf( stream, "%s%s: ", item->psz_module, ppsz_type[type] );
|
||||
utf8_fprintf( stream, fmt, ap );
|
||||
fputc_unlocked( '\n', stream );
|
||||
putc_unlocked( '\n', stream );
|
||||
funlockfile( stream );
|
||||
vlc_restorecancel( canc );
|
||||
}
|
||||
|
@ -298,7 +298,7 @@ static void PrintMsg (void *d, int type, const msg_item_t *p_item,
|
||||
utf8_fprintf (stream, "%s %s%s: ", p_item->psz_module,
|
||||
p_item->psz_object_type, msg_type[type]);
|
||||
utf8_vfprintf (stream, format, ap);
|
||||
fputc_unlocked ('\n', stream);
|
||||
putc_unlocked ('\n', stream);
|
||||
#if defined (WIN32) || defined (__OS2__)
|
||||
fflush (stream);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user