Skip to content

Commit

Permalink
Added a break, based on verbal code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dcamper committed Sep 19, 2024
1 parent 8c9e06b commit da4f77d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/remote/rmtsmtp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ class CMailInfo
if (hasMoreOptions)
{
// Skip to the character past the end of the line
while (buffPtr < inbuff + inlen)
while (buffPtr < (inbuff + inlen))
{
buffPtr++;
if (*buffPtr == '\n')
Expand All @@ -690,6 +690,10 @@ class CMailInfo
}
}
}
else
{
break;
}
}
else
{
Expand Down

0 comments on commit da4f77d

Please sign in to comment.