From f3b3ddfd7ffbf74ae91ce0f8f9908915974cf2c6 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 17 May 2023 10:52:08 +0900 Subject: Fix comments. -- Signed-off-by: NIIBE Yutaka --- src/assuan-socket.c | 2 +- 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) -- cgit v1.2.1