mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Fix
This commit is contained in:
parent
38d6cce5ba
commit
e93368a9f0
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue