Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
evolution
bgo-569700-cancel-downloading-image.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bgo-569700-cancel-downloading-image.patch of Package evolution
Index: mail/em-format-html.c =================================================================== --- mail/em-format-html.c (revision 37227) +++ mail/em-format-html.c (working copy) @@ -521,6 +521,10 @@ static void emfh_gethttp(struct _EMForma costream = camel_data_cache_add(emfh_http_cache, EMFH_HTTP_CACHE_PATH, job->u.uri, NULL); do { + if (camel_operation_cancel_check (NULL)) { + n = -1; + break; + } /* FIXME: progress reporting in percentage, can we get the length always? do we care? */ n = camel_stream_read(instream, buffer, sizeof (buffer)); if (n > 0) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor