silence sprintf
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 11:56:26 +0000 (11:56 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 11:56:26 +0000 (11:56 +0000)
includes/memcached-client.php

index 217417c..d3d7d70 100644 (file)
@@ -388,7 +388,7 @@ class memcached
       
       if ($this->_debug)
          foreach ($val as $k => $v)
-            $this->_debugprint(sprintf("MemCache: sock %s got %s => %s\r\n", $sock, $k, $v));
+            $this->_debugprint(@sprintf("MemCache: sock %s got %s => %s\r\n", serialize($sock), $k, $v));
 
       return $val[$key];
    }