We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f711ae0 commit c4fb9c4Copy full SHA for c4fb9c4
src/lib.rs
@@ -152,7 +152,7 @@ pub enum SocksError {
152
153
#[cfg(feature = "socks4")]
154
#[error("Error with reply: {0}.")]
155
- ReplySocks4Error(#[from] socks3::ReplyError),
+ ReplySocks4Error(#[from] socks4::ReplyError),
156
157
#[error("Argument input error: `{0}`.")]
158
ArgumentInputError(&'static str),
src/socks4/client.rs
@@ -1,6 +1,6 @@
1
#[forbid(unsafe_code)]
2
use crate::read_exact;
3
-use crate::socks3::{consts, ReplyError, Socks4Command};
+use crate::socks4::{consts, ReplyError, Socks4Command};
4
use crate::util::target_addr::{TargetAddr, ToTargetAddr};
5
use crate::{Result, SocksError, SocksError::ReplySocks4Error};
6
use anyhow::Context;
0 commit comments