diff options
Diffstat (limited to 'manual/examples/filesrv.c')
-rw-r--r-- | manual/examples/filesrv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manual/examples/filesrv.c b/manual/examples/filesrv.c index 3596b99982..32507c6555 100644 --- a/manual/examples/filesrv.c +++ b/manual/examples/filesrv.c @@ -16,8 +16,10 @@ main (void) size_t size; int nbytes; - /* Make the socket, then loop endlessly. */ + /* Remove the filename first, it's ok if the call fails */ + unlink (SERVER); + /* Make the socket, then loop endlessly. */ sock = make_named_socket (SERVER); while (1) { |