fix and implement ffi tranlation

This commit is contained in:
dignifiedquire
2019-09-15 19:31:07 +02:00
committed by Floris Bruynooghe
parent 5486ac5b9f
commit 0bf3d20e07
8 changed files with 80 additions and 41 deletions

View File

@@ -23,10 +23,7 @@ fn cb(_ctx: &Context, event: Event) -> usize {
print!(" progress: {}\n", progress);
0
}
Event::Info(msg)
| Event::Warning(msg)
| Event::Error(msg)
| Event::ErrorNetwork(_, msg) => {
Event::Info(msg) | Event::Warning(msg) | Event::Error(msg) | Event::ErrorNetwork(msg) => {
print!(" {}\n", msg);
0
}