nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update code to comply with new superstring policy
[nit.git]
/
examples
/
socket_client.nit
diff --git
a/examples/socket_client.nit
b/examples/socket_client.nit
index
0ba1913
..
b488028
100644
(file)
--- a/
examples/socket_client.nit
+++ b/
examples/socket_client.nit
@@
-26,7
+26,7
@@
end
var s = new Socket.client(args[0], args[1].to_i)
print "[HOST ADDRESS] : {s.address}"
-print "[HOST] : {s.host}"
+print "[HOST] : {s.host or else "unamed"}"
print "[PORT] : {s.port}"
print "Connecting ... {s.connected}"
if s.connected then