Skip to content

Commit

Permalink
#65: Log errno when socket access fails (#66)
Browse files Browse the repository at this point in the history
Fixes #65
  • Loading branch information
tomuben authored Jul 29, 2021
1 parent 6fb7299 commit 0980001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exasol.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ SEXP asyncRODBCQueryStart(SEXP slotA, SEXP chan, SEXP query, SEXP writerA) {
}
len = recv(t->fd, &data, 1, MSG_WAITALL);
if (len != 1) {
error("Could not read header.");
error("Could not read header. errno=%d", errno);
goto error;
}
line[pos++] = data;
Expand Down

0 comments on commit 0980001

Please sign in to comment.