summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/proto
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/YAMN/src/proto')
-rw-r--r--protocols/YAMN/src/proto/netlib.cpp6
-rw-r--r--protocols/YAMN/src/proto/pop3/pop3comm.cpp2
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;
}