Skip to content

Commit

Permalink
Write debug output to stderr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Dmytrenko committed Jul 7, 2014
1 parent c59eb30 commit 95f05d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpx_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub fn decompress_bcfz(data: Vec<u8>) -> Vec<u8> {
None => return decomressed_data
}
}
println!("Successfully decompressed data. Len: {}, Expected len: {}", decomressed_data.len(), decomressed_data_len);
std::io::stdio::stderr().write_line(format!("Successfully decompressed data. Len: {}, Expected len: {}", decomressed_data.len(), decomressed_data_len).as_slice()).unwrap();
decomressed_data
}

Expand Down

0 comments on commit 95f05d5

Please sign in to comment.