Added comment to example02.

This commit is contained in:
tastytea 2019-04-10 20:55:23 +02:00
parent 09ecd8e5e4
commit 2c97d43ce2
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ int main(int argc, char *argv[])
}
case Easy::event_type::Error:
{
// Errors are reported in-stream. Print error and exit.
cerr << "Error: " << event.data << endl;
ptr->cancel_stream();
return 1;