Skip to content

Commit

Permalink
core: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Nov 5, 2024
1 parent 1537201 commit 868b24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/file_modified_time_reply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ std::optional<datetime> file_modified_time_reply::parse_datetime(const reply & r

std::string_view status_string = reply.get_status_string();

/* Code, space, and at least one character. */
if (status_string.size() < 5)
{
return std::nullopt;
Expand Down
1 change: 1 addition & 0 deletions src/file_size_reply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ std::optional<std::uint64_t> file_size_reply::parse_size(const reply & reply)

std::string_view status_string = reply.get_status_string();

/* Code, space, and at least one character. */
if (status_string.size() < 5)
{
return std::nullopt;
Expand Down

0 comments on commit 868b24b

Please sign in to comment.