Skip to content

Commit

Permalink
Impossible infinite eIO_Timeout made a critical error
Browse files Browse the repository at this point in the history
git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102057 78c7ea69-d796-4a43-9a09-de51944f1b03
  • Loading branch information
alavrentiev committed Mar 23, 2024
1 parent dc4be27 commit beacd31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connect/ncbi_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ extern EIO_Status CONN_Wait
ELOG_Level level;
switch (status) {
case eIO_Timeout:
if (!timeout/*impossible*/)
level = eLOG_Error;
if (!timeout/*==kInfiniteTimeout,impossible*/)
level = eLOG_Critical;
else if (timeout->sec | timeout->usec)
level = eLOG_Trace;
else
Expand Down

0 comments on commit beacd31

Please sign in to comment.
-