summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-13 22:57:25 -0800
committerEvan Prodromou <evan@status.net>2010-01-13 22:57:25 -0800
commitb59188dc77710a7d3863c640b6689f0d4008269d (patch)
treeeada7a447d4502dcf3575453bc10c785091808f1 /lib
parent33df3922895e61e4e347a19acba67983ed1c4c23 (diff)
parent16742d0fde811256c386d1bae9768fcd939b9af8 (diff)
Merge branch 'master' into 0.9.x
Diffstat (limited to 'lib')
-rw-r--r--lib/iomaster.php2
-rw-r--r--lib/xmppmanager.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/iomaster.php b/lib/iomaster.php
index aff5b145c..5d1071a39 100644
--- a/lib/iomaster.php
+++ b/lib/iomaster.php
@@ -231,7 +231,7 @@ class IoMaster
return -1;
}
} else {
- return $this->parseMemoryLimit($limit);
+ return $this->parseMemoryLimit($softLimit);
}
return $softLimit;
}
diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php
index 9662e97d1..0839cda57 100644
--- a/lib/xmppmanager.php
+++ b/lib/xmppmanager.php
@@ -81,7 +81,7 @@ class XmppManager extends IoManager
parent::start($master);
$this->switchSite();
- require_once "lib/jabber.php";
+ require_once INSTALLDIR . "/lib/jabber.php";
# Low priority; we don't want to receive messages