diff options
author | dartraiden <wowemuh@gmail.com> | 2022-01-24 17:50:56 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2022-01-24 17:50:56 +0300 |
commit | dae0eee5cac2a349102d78f71c03686a83866bb7 (patch) | |
tree | c850313ed2647b17847543d7564a810755abfd29 /protocols/YAMN/src/proto | |
parent | 41ae1ce5bec8ba343750345972b26770129d81f8 (diff) |
We do not need to translate account names
Diffstat (limited to 'protocols/YAMN/src/proto')
-rw-r--r-- | protocols/YAMN/src/proto/netlib.cpp | 6 | ||||
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3comm.cpp | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/protocols/YAMN/src/proto/netlib.cpp b/protocols/YAMN/src/proto/netlib.cpp index 54a40ba4cd..a2f924294e 100644 --- a/protocols/YAMN/src/proto/netlib.cpp +++ b/protocols/YAMN/src/proto/netlib.cpp @@ -33,17 +33,13 @@ void __stdcall SSL_DebugLog(const char *fmt, ...) HANDLE RegisterNLClient(const char *name) { - char desc[128]; - - mir_snprintf(desc, Translate("%s connection"), name); - #ifdef DEBUG_COMM DebugLog(CommFile, "<Register PROXY support>"); #endif NETLIBUSER nlu = {}; nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS; - nlu.szDescriptiveName.a = desc; + nlu.szDescriptiveName.a = name; nlu.szSettingsModule = (char *)name; hNetlibUser = Netlib_RegisterUser(&nlu); diff --git a/protocols/YAMN/src/proto/pop3/pop3comm.cpp b/protocols/YAMN/src/proto/pop3/pop3comm.cpp index fbb89eaa78..4d5f7c9fa8 100644 --- a/protocols/YAMN/src/proto/pop3/pop3comm.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3comm.cpp @@ -194,7 +194,7 @@ int RegisterPOP3Plugin(WPARAM, LPARAM) } //Register new pop3 user in netlib - if (nullptr == (hNetLib = RegisterNLClient("YAMN-POP3"))) + if (nullptr == (hNetLib = RegisterNLClient("YAMN (POP3)"))) { UnLoadPOP3(nullptr); return 0; } |