Skip to content

Commit

Permalink
Comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Mar 20, 2024
1 parent ba7386f commit daa02c4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/util/downloadfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@
m_downloader.Start();
@endcode
@warning An `wxEvtHandler`-derived class can either be connected to a single QueueDownload
or a single FileDownload object. This is because the class must bind its @c wxEVT_WEBREQUEST_STATE
event to the `QueueDownload`'s or `FileDownload`'s @c ProcessRequest() method.
or a single FileDownload object. This is because the class must bind its
@c wxEVT_WEBREQUEST_STATE event to the `QueueDownload`'s or
`FileDownload`'s @c ProcessRequest() method.
*/
class QueueDownload
{
Expand Down Expand Up @@ -135,7 +136,8 @@ class QueueDownload
void CancelPending();

/** @brief Disable SSL certificate verification.
@details This can be used to connect to self signed servers or other invalid SSL connections.\n
@details This can be used to connect to self signed servers or
other invalid SSL connections.\n
Disabling verification makes the communication insecure.
@param disable @c true to disable SSL certificate verification.*/
void DisablePeerVerify(const bool disable)noexcept
Expand Down Expand Up @@ -296,7 +298,8 @@ class FileDownload
{ m_showProgress = show; }

/** @brief Disable SSL certificate verification.
@details This can be used to connect to self signed servers or other invalid SSL connections.\n
@details This can be used to connect to self signed servers or
other invalid SSL connections.\n
Disabling verification makes the communication insecure.
@param disable @c true to disable SSL certificate verification.*/
void DisablePeerVerify(const bool disable)noexcept
Expand Down

0 comments on commit daa02c4

Please sign in to comment.