Commit 2ba95974 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use standard putc_unlocked() instead of fputc_unlocked()

parent 55816ce9
...@@ -351,7 +351,7 @@ static void TextPrint( void *opaque, int type, const msg_item_t *item, ...@@ -351,7 +351,7 @@ static void TextPrint( void *opaque, int type, const msg_item_t *item,
flockfile( stream ); flockfile( stream );
utf8_fprintf( stream, "%s%s: ", item->psz_module, ppsz_type[type] ); utf8_fprintf( stream, "%s%s: ", item->psz_module, ppsz_type[type] );
utf8_fprintf( stream, fmt, ap ); utf8_fprintf( stream, fmt, ap );
fputc_unlocked( '\n', stream ); putc_unlocked( '\n', stream );
funlockfile( stream ); funlockfile( stream );
vlc_restorecancel( canc ); vlc_restorecancel( canc );
} }
......
...@@ -298,7 +298,7 @@ static void PrintMsg (void *d, int type, const msg_item_t *p_item, ...@@ -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, utf8_fprintf (stream, "%s %s%s: ", p_item->psz_module,
p_item->psz_object_type, msg_type[type]); p_item->psz_object_type, msg_type[type]);
utf8_vfprintf (stream, format, ap); utf8_vfprintf (stream, format, ap);
fputc_unlocked ('\n', stream); putc_unlocked ('\n', stream);
#if defined (WIN32) || defined (__OS2__) #if defined (WIN32) || defined (__OS2__)
fflush (stream); fflush (stream);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment