diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-12-14 14:07:45 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-12-14 14:07:45 +0000 |
| commit | 3295f7832b9a70e6fa8a3c27b2a8a5876a28e2c0 (patch) | |
| tree | 7b79de4f701690ed70232f6a435dee81cb9b04b9 | |
| parent | 2c445c899f930298822d6de03a6473c2b05a698a (diff) | |
20071214-1407
| -rw-r--r-- | man/2/dial | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -278,16 +278,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); } } @@ -296,7 +296,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; |
