diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-02 00:55:46 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-02 00:55:46 +0200 |
commit | 312c5e07318cd07d02c441a28bdc5d344f16e72b (patch) | |
tree | 92a2c04137de7f7507cd0109e5fb09a93a3a3ba1 /src/libmdsclient/comm.c | |
parent | whitespace (diff) | |
download | mds-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/comm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmdsclient/comm.c b/src/libmdsclient/comm.c index 0e1485b..6c72e9f 100644 --- a/src/libmdsclient/comm.c +++ b/src/libmdsclient/comm.c @@ -136,7 +136,7 @@ void libmds_connection_free(libmds_connection_t* restrict this) * * @throws EFAULT If the display server's address is not properly * formatted, or specifies an unsupported protocol, - * `libmds_parse_display_adress` can be used to + * `libmds_parse_display_address` can be used to * figure out what is wrong. * @throws ENAMETOOLONG The filename of the target socket is too long * @throws Any error specified for socket(2) @@ -155,7 +155,7 @@ int libmds_connection_establish(libmds_connection_t* restrict this, const char** if ((*display == NULL) || (strchr(*display, ':') == NULL)) goto efault; - if (libmds_parse_display_adress(*display, &addr) < 0) + if (libmds_parse_display_address(*display, &addr) < 0) goto fail; if (libmds_connection_establish_address(this, &addr) < 0) @@ -181,7 +181,7 @@ int libmds_connection_establish(libmds_connection_t* restrict this, const char** * @param this The connection descriptor, must not be `NULL` * @param address The address to connect to, must not be `NULL`, * and must be the result of a successful call to - * `libmds_parse_display_adress` + * `libmds_parse_display_address` * @return Zero on success, -1 on error. On error, `display` * will point to `NULL` if MDS_DISPLAY is not defiend, * otherwise, `errno` will have been set to describe |