Added comment to example02.
This commit is contained in:
parent
09ecd8e5e4
commit
2c97d43ce2
@ -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;
|
||||
|
Reference in New Issue
Block a user