mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
Fix
This commit is contained in:
parent
38d6cce5ba
commit
e93368a9f0
@ -29,9 +29,8 @@ I64 TelnetOpen(U8 *host, U16 port) {
|
|||||||
if (host == NULL) {
|
if (host == NULL) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
DocPrint(term.doc, "$$GREEN$$Connecting to %s:%d.$$FG$$$$BG$$\n", host, port);
|
||||||
sock = TCPConnectionCreate(host, port);
|
sock = TCPConnectionCreate(host, port);
|
||||||
"$$GREEN$$Connecting to %s:%d.$$FG$$$$BG$$\n", host, port;
|
|
||||||
if (sock <= 0) {
|
if (sock <= 0) {
|
||||||
// PrintErr("Failed to connect to %s:%d\n", host, port);
|
// PrintErr("Failed to connect to %s:%d\n", host, port);
|
||||||
PopUpOk("\n\n\tFailed to connect\n\n");
|
PopUpOk("\n\n\tFailed to connect\n\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user