From: Andre Noll Date: Sun, 11 Jan 2015 23:40:22 +0000 (+0100) Subject: create_local_socket(): Avoid code duplication. X-Git-Tag: v0.5.5~60^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=00e95557839f3fef5fa06702f3864e8376d2a29b;hp=00e95557839f3fef5fa06702f3864e8376d2a29b;p=paraslash.git create_local_socket(): Avoid code duplication. The two users of create_local_socket(), afs.c and audiod.c, both call mark_fd_nonblocking() and listen(2) on the returned socket file descriptor. This patch moves the code for this additional work to create_local_socket(), simplifying the callers. ---