aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsclient/address.c
diff options
context:
space:
mode:
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;