diff options
author | dscho <dscho> | 2004-12-01 18:21:39 +0000 |
---|---|---|
committer | dscho <dscho> | 2004-12-01 18:21:39 +0000 |
commit | 7d3b1c9762b5f2878e9783677677cb2b3aa10e7e (patch) | |
tree | cf6a503d0d89006e39de5f5c4393b89ba1d2c8e4 /libvncclient/listen.c | |
parent | c641923d058c1f8927bb3169c5f78b0510adb72f (diff) | |
download | libtdevnc-7d3b1c9762b5f2878e9783677677cb2b3aa10e7e.tar.gz libtdevnc-7d3b1c9762b5f2878e9783677677cb2b3aa10e7e.zip |
use rfbClientErr to log errors, check if calloc succeded (both hinted by Andre Leiradella)
Diffstat (limited to 'libvncclient/listen.c')
-rw-r--r-- | libvncclient/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/listen.c b/libvncclient/listen.c index 1e6f68b..a7e4259 100644 --- a/libvncclient/listen.c +++ b/libvncclient/listen.c @@ -77,7 +77,7 @@ listenForIncomingConnections(rfbClient* client) switch (fork()) { case -1: - perror("fork"); + rfbClientErr("fork"); return; case 0: |