Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
6a077f86
Commit
6a077f86
authored
Aug 10, 2009
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only flush stderr when something was printed.
Pointless, but clearer to me.
parent
1fb48a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
util.c
util.c
+3
-2
No files found.
util.c
View file @
6a077f86
...
@@ -172,10 +172,11 @@ do_debugf(int level, const char *format, ...)
...
@@ -172,10 +172,11 @@ do_debugf(int level, const char *format, ...)
{
{
va_list
args
;
va_list
args
;
va_start
(
args
,
format
);
va_start
(
args
,
format
);
if
(
debug
>=
level
)
if
(
debug
>=
level
)
{
vfprintf
(
stderr
,
format
,
args
);
vfprintf
(
stderr
,
format
,
args
);
fflush
(
stderr
);
}
va_end
(
args
);
va_end
(
args
);
fflush
(
stderr
);
}
}
int
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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