https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix IHTTPResult::getHeader/s()
[friendica.git/.git]
/
src
/
Protocol
/
Salmon.php
diff --git
a/src/Protocol/Salmon.php
b/src/Protocol/Salmon.php
index
169a4d0
..
8084625
100644
(file)
--- a/
src/Protocol/Salmon.php
+++ b/
src/Protocol/Salmon.php
@@
-215,7
+215,7
@@
class Salmon
return -1;
}
- if (($return_code == 503) &&
(stristr($postResult->getHeader(), 'retry-after')
)) {
+ if (($return_code == 503) &&
$postResult->inHeader('retry-after'
)) {
return -1;
}