aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsclient/address.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 00:55:46 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 00:55:46 +0200
commit312c5e07318cd07d02c441a28bdc5d344f16e72b (patch)
tree92a2c04137de7f7507cd0109e5fb09a93a3a3ba1 /src/libmdsclient/address.c
parentwhitespace (diff)
downloadmds-312c5e07318cd07d02c441a28bdc5d344f16e72b.tar.gz
mds-312c5e07318cd07d02c441a28bdc5d344f16e72b.tar.bz2
mds-312c5e07318cd07d02c441a28bdc5d344f16e72b.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsclient/address.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmdsclient/address.c b/src/libmdsclient/address.c
index 35af77c..7880e56 100644
--- a/src/libmdsclient/address.c
+++ b/src/libmdsclient/address.c
@@ -51,7 +51,7 @@ static int is_pzinteger(const char* restrict str)
/**
- * Set the socket adress, with the address family `AF_UNIX`
+ * Set the socket address, with the address family `AF_UNIX`
*
* @param out_address Output parameter for the socket address
* @param pathlen Pointer to a variable where the length of the pathname will be stored
@@ -157,7 +157,7 @@ static int set_af_inet(struct sockaddr** restrict out_address, socklen_t* restri
* RLIMIT_AS or RLIMIT_DATA limit described in getrlimit(2).
* @throws ENAMETOOLONG The filename of the target socket is too long
*/
-int libmds_parse_display_adress(const char* restrict display, libmds_display_address_t* restrict address)
+int libmds_parse_display_address(const char* restrict display, libmds_display_address_t* restrict address)
{
ssize_t pathlen = 0;
char* host;