diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2023-05-17 10:52:08 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-05-17 10:52:08 +0900 |
commit | f3b3ddfd7ffbf74ae91ce0f8f9908915974cf2c6 (patch) | |
tree | 50f365148f66d55200bcadffef6f55d0a74c3174 | |
parent | 18edc4f89f9aa46a669031925176f241fd8d637f (diff) | |
download | libassuan-f3b3ddfd7ffbf74ae91ce0f8f9908915974cf2c6.tar.gz |
Fix comments.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r-- | src/assuan-socket.c | 2 | ||||
-rw-r--r-- | src/context.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/assuan-socket.c b/src/assuan-socket.c index 71e1495..f209457 100644 --- a/src/assuan-socket.c +++ b/src/assuan-socket.c @@ -1064,7 +1064,7 @@ _assuan_sock_connect (assuan_context_t ctx, assuan_fd_t sockfd, { char buffer[16]; - /* The client sends the nonce back - not useful. We do + /* The server sends the nonce back - not useful. We do a dummy read. */ ret = do_readn (ctx, sockfd, buffer, 16); if (!ret) diff --git a/src/context.c b/src/context.c index dd89de9..947df76 100644 --- a/src/context.c +++ b/src/context.c @@ -202,7 +202,7 @@ assuan_set_error (assuan_context_t ctx, gpg_error_t err, const char *text) /* Return the PID of the peer or ASSUAN_INVALID_PID if not known. - This function works in some situations where assuan_get_ucred + This function works in some situations where assuan_get_peercred fails. */ pid_t assuan_get_pid (assuan_context_t ctx) |