aboutsummaryrefslogtreecommitdiffstats
path: root/include/deliver.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-26 18:58:48 -0700
committerfriendica <info@friendica.com>2014-08-26 18:58:48 -0700
commit6a42d6fe3b1e50af16942d0f22e8cfa01abfde39 (patch)
treec4bc72223e915a2e83aed11ca09daa059ad6a8c3 /include/deliver.php
parente42205cec25fbe7ee93fde4a0f267d54b0e30193 (diff)
downloadvolse-hubzilla-6a42d6fe3b1e50af16942d0f22e8cfa01abfde39.tar.gz
volse-hubzilla-6a42d6fe3b1e50af16942d0f22e8cfa01abfde39.tar.bz2
volse-hubzilla-6a42d6fe3b1e50af16942d0f22e8cfa01abfde39.zip
works one way sort of - now to go the other way - which will require fixing a whole slew of FIXMEs
Diffstat (limited to 'include/deliver.php')
-rw-r--r--include/deliver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/deliver.php b/include/deliver.php
index 6edf3d60f..08c4f9b64 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -22,7 +22,7 @@ function deliver_run($argv, $argc) {
if($r) {
if($r[0]['outq_driver'] === 'post') {
$result = z_post_url($r[0]['outq_posturl'],$r[0]['outq_msg']);
- if($result['success'] && $result['status_code'] < 300) {
+ if($result['success'] && $result['return_code'] < 300) {
logger('deliver: queue post success to ' . $r[0]['outq_posturl'], LOGGER_DEBUG);
}
else {