lib/curl/Handler: fix typo

This commit is contained in:
Max Kellermann 2021-12-08 19:41:37 +01:00
parent 7d67c87a47
commit 50a617764a

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2008-2018 Max Kellermann <max.kellermann@gmail.com> * Copyright 2008-2021 Max Kellermann <max.kellermann@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@ -64,14 +64,14 @@ public:
virtual void OnData(ConstBuffer<void> data) = 0; virtual void OnData(ConstBuffer<void> data) = 0;
/** /**
* The response has ended. The method is allowed delete the * The response has ended. The method is allowed to delete the
* #CurlRequest here. * #CurlRequest.
*/ */
virtual void OnEnd() = 0; virtual void OnEnd() = 0;
/** /**
* An error has occurred. The method is allowed delete the * An error has occurred. The method is allowed to delete the
* #CurlRequest here. * #CurlRequest.
*/ */
virtual void OnError(std::exception_ptr e) noexcept = 0; virtual void OnError(std::exception_ptr e) noexcept = 0;
}; };