Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Olivier Poitrey
2013-06-04 05:12:07 -0700
Commit
d38e13c58d742bfe7a583ffccc6309b24f878dd1
2 parents
d04fd47f
7d9c93fb
Merge pull request #408 from dlbuckley/issue-406-Failed-URL-Problem
#406 - Fixed failed URL problem
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
SDWebImage/SDWebImageManager.m
SDWebImage/SDWebImageManager.m
View file @
d38e13c
...
...
@@ -91,7 +91,11 @@
if
(
!
url
||
!
completedBlock
||
(
!
(
options
&
SDWebImageRetryFailed
)
&&
isFailedUrl
))
{
if
(
completedBlock
)
completedBlock
(
nil
,
nil
,
SDImageCacheTypeNone
,
NO
);
if
(
completedBlock
)
{
NSError
*
error
=
[
NSError
errorWithDomain
:
NSURLErrorDomain
code
:
NSURLErrorFileDoesNotExist
userInfo
:
nil
];
completedBlock
(
nil
,
error
,
SDImageCacheTypeNone
,
YES
);
}
return
operation
;
}
...
...
Please
register
or
login
to post a comment