mango r204 - in trunk: . lib



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]