commit | afeb6834597dba7c2546f36f5de61f218fbd5b4b | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Sun Jun 04 05:21:49 2000 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Sun Jun 04 05:21:49 2000 +0000 |
tree | 5e7c0d19b1624086ce665e757eebb83f242d837c | |
parent | 46a38dbb9b1a5ecec99dda2eb42b456e5ac76c26 [diff] |
"nc" exits silently on errors. This patch makes it print something before exit(). Note that calling perror() after gethostbyname() will most likely return "No such file or directory" which is quite confusing, so I decided to use fatalError instead. Regards, Pavel Roskin