From 02184df7c8fd40ee9d1b134fd318e0c6f444ae01 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 13 Feb 2009 10:08:11 -0800 Subject: Fixed arguments to syslog (LOG_ERR, not LOG_ERROR) and removed unused function --- lib/jabber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/jabber.php') diff --git a/lib/jabber.php b/lib/jabber.php index b385d3c5c..3fbb3e1ab 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -114,7 +114,7 @@ function jabber_connect($resource=null) try { $conn->connect(true); // true = persistent connection } catch (XMPPHP_Exception $e) { - common_log(LOG_ERROR, $e->getMessage()); + common_log(LOG_ERR, $e->getMessage()); return false; } -- cgit v1.2.3-54-g00ecf