summaryrefslogtreecommitdiff
path: root/man/2/dial
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-02-19 09:49:46 +0000
committerCharles.Forsyth <devnull@localhost>2009-02-19 09:49:46 +0000
commit6049116fb66c9cd530ff90350fc92c0a80119ec9 (patch)
tree31a55554146871bd5eef1c29cbd962e24c40f2a7 /man/2/dial
parent12ac827e529ef6383a8bf5d1b171f5009b669a43 (diff)
20090219-0949
Diffstat (limited to 'man/2/dial')
-rw-r--r--man/2/dial8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/2/dial b/man/2/dial
index b6c76e19..2398c17b 100644
--- a/man/2/dial
+++ b/man/2/dial
@@ -298,16 +298,16 @@ listener()
{
ac := dial->announce("tcp!*!9995");
if(ac == nil){
- sys->print("can't announce: %r\n");
+ sys->print("can't announce: %r\en");
exit;
}
for(;;){
lc := dial->listen(ac);
if(lc == nil){
- sys->print("listen: %r\n");
+ sys->print("listen: %r\en");
exit;
}
- sys->print("incoming: %s\n", hd ctext(lc));
+ sys->print("incoming: %s\en", hd ctext(lc));
spawn client(lc);
}
}
@@ -316,7 +316,7 @@ client(c: ref Connection)
{
dfd := dial->accept(c);
if(dfd == nil){
- sys->print("%s: can't accept: %r\n", c.dir);
+ sys->print("%s: can't accept: %r\en", c.dir);
exit;
}
buf := array[Sys->ATOMICIO] of byte;