aboutsummaryrefslogtreecommitdiffstats
path: root/include/salmon.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-21 23:00:01 -0800
committerFriendika <info@friendika.com>2010-11-21 23:00:01 -0800
commitde6c777d3f6753b8fb5f33bc0ee8acafc6772551 (patch)
treeef95d120dd770da99071b195fdc08626981cc639 /include/salmon.php
parent552c56102ea70c6c9e32e13675b564a36814a069 (diff)
downloadvolse-hubzilla-de6c777d3f6753b8fb5f33bc0ee8acafc6772551.tar.gz
volse-hubzilla-de6c777d3f6753b8fb5f33bc0ee8acafc6772551.tar.bz2
volse-hubzilla-de6c777d3f6753b8fb5f33bc0ee8acafc6772551.zip
infrastructure for queueing, redelivery
Diffstat (limited to 'include/salmon.php')
-rw-r--r--include/salmon.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/salmon.php b/include/salmon.php
index a12b7391e..85bda1c8f 100644
--- a/include/salmon.php
+++ b/include/salmon.php
@@ -205,6 +205,8 @@ EOT;
}
logger('slapper returned ' . $return_code);
- return;
+ if(! $return_code)
+ return(-1);
+ return ((substr($return_code,0,1) === '2') ? 0 : 1);
}