1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-06 03:50:06 +02:00

Merge pull request #504 from librespot-org/build-fixes

General fixes to protobuf bindings, depreciation warnings and publish.sh
This commit is contained in:
Sasha Hilton 2020-07-27 00:17:38 +01:00 committed by GitHub
commit 4886d4eed2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 93 additions and 43119 deletions

View file

@ -1,4 +1,3 @@
use std::error::Error;
use std::io;
use std::str::FromStr;
@ -58,7 +57,7 @@ impl<T: AsyncRead + AsyncWrite> Future for ProxyTunnel<T> {
let status = match response.parse(&buf) {
Ok(status) => status,
Err(err) => {
return Err(io::Error::new(io::ErrorKind::Other, err.description()));
return Err(io::Error::new(io::ErrorKind::Other, err.to_string()));
}
};