mango r204 - in trunk: . lib
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r204 - in trunk: . lib
- Date: Sun, 8 Jun 2008 21:35:59 +0000 (UTC)
Author: ovitters
Date: Sun Jun 8 21:35:59 2008
New Revision: 204
URL: http://svn.gnome.org/viewvc/mango?rev=204&view=rev
Log:
* lib/util.php: Correctly throw the Exception.
Modified:
trunk/ChangeLog
trunk/lib/util.php
Modified: trunk/lib/util.php
==============================================================================
--- trunk/lib/util.php (original)
+++ trunk/lib/util.php Sun Jun 8 21:35:59 2008
@@ -18,7 +18,7 @@
function _get_bytes($nr) {
if (($this->idx + $nr) > $this->data_len)
- throw Exception('Not enough bytes available in SSH message');
+ throw new Exception('Not enough bytes available in SSH message');
$this->idx += $nr;
return substr($this->data, $this->idx - $nr, $nr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]