Skip to content

Commit 87b2cbf

Browse files
authored
Merge pull request #355 from bachue/master
Fix the bug that cvt() could get rid of extra error message
2 parents d7817da + fbb8e02 commit 87b2cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/easy/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3011,7 +3011,7 @@ impl<H> Easy2<H> {
30113011
if let Some(msg) = self.take_error_buf() {
30123012
err.set_extra(msg);
30133013
}
3014-
Err(Error::new(rc))
3014+
Err(err)
30153015
}
30163016
}
30173017

0 commit comments

Comments
 (0)