X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fsalmon.php;h=6675849ce4198f5d701998665c61ebd2ac8797f0;hb=ea88e15a8cc10f99621720ca0e5a9598d0e64e0f;hp=79fd4c10d9ee884e4f9bdd14f835bf7984d49822;hpb=3592f909105d09ac7d4d7bfebe47f4b3921763d6;p=friendica.git diff --git a/include/salmon.php b/include/salmon.php index 79fd4c10d9..6675849ce4 100644 --- a/include/salmon.php +++ b/include/salmon.php @@ -1,7 +1,8 @@ get_curl_headers(), 'retry-after'))) { - return(-1); + return -1; } + return ((($return_code >= 200) && ($return_code < 300)) ? 0 : 1); }