diff options
| author | Charles.Forsyth <devnull@localhost> | 2009-02-19 09:49:46 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2009-02-19 09:49:46 +0000 |
| commit | 6049116fb66c9cd530ff90350fc92c0a80119ec9 (patch) | |
| tree | 31a55554146871bd5eef1c29cbd962e24c40f2a7 /man/2/dial | |
| parent | 12ac827e529ef6383a8bf5d1b171f5009b669a43 (diff) | |
20090219-0949
Diffstat (limited to 'man/2/dial')
| -rw-r--r-- | man/2/dial | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |
