Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2ba95974
Commit
2ba95974
authored
Aug 21, 2011
by
Rémi Denis-Courmont
Browse files
Use standard putc_unlocked() instead of fputc_unlocked()
parent
55816ce9
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/misc/logger.c
View file @
2ba95974
...
...
@@ -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
);
f
putc_unlocked
(
'\n'
,
stream
);
putc_unlocked
(
'\n'
,
stream
);
funlockfile
(
stream
);
vlc_restorecancel
(
canc
);
}
...
...
src/misc/messages.c
View file @
2ba95974
...
...
@@ -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
);
f
putc_unlocked
(
'\n'
,
stream
);
putc_unlocked
(
'\n'
,
stream
);
#if defined (WIN32) || defined (__OS2__)
fflush
(
stream
);
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment