summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/assuan-socket.c2
-rw-r--r--src/context.c2
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)