]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.c
net.c: Fix a typo in the documentation.
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index 9d0cb6c09aeaf2ba9ff19057f146e5f3d922e3ae..cb504f3cce860f26eb8dd53d6c3c0a1d33424f24 100644 (file)
--- a/net.c
+++ b/net.c
@@ -374,11 +374,11 @@ int init_unix_addr(struct sockaddr_un *u, const char *name)
 }
 
 /**
- * prepare, create, and bind and socket for local communication
+ * Prepare, create, and bind a socket for local communication.
  *
- * \param name the socket pathname
- * \param unix_addr pointer to the \p AF_UNIX socket structure
- * \param mode the desired mode of the socket
+ * \param name The socket pathname.
+ * \param unix_addr Pointer to the \p AF_UNIX socket structure.
+ * \param mode The desired mode of the socket.
  *
  * This functions creates a local socket for sequenced, reliable,
  * two-way, connection-based byte streams.
@@ -389,7 +389,7 @@ int init_unix_addr(struct sockaddr_un *u, const char *name)
  * \sa bind(2)
  * \sa chmod(2)
  */
-int create_pf_socket(const char *name, struct sockaddr_un *unix_addr,
+int create_local_socket(const char *name, struct sockaddr_un *unix_addr,
                mode_t mode)
 {
        int fd, ret;