SPIA to full length response
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 5 Aug 2012 13:43:32 +0000 (15:43 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 5 Aug 2012 13:43:32 +0000 (15:43 +0200)
web/Obj/sac-a-push.phh

index 4a325da..cd0d6ab 100644 (file)
@@ -425,7 +425,8 @@ class Sac_a_push {
                     }
                     
                     if ($response != "") {
                     }
                     
                     if ($response != "") {
-                        echo "SPIA: [".substr($response, 0, 60)."...]\n";
+                        // echo "SPIA: [".substr($response, 0, 60)."...]\n";
+                        echo "SPIA: [".$response."...]\n";
                         $response_l = mb_strlen($response, "ASCII");
                         $wret = @fwrite($sock, $response);
                         if ($wret < $response_l) {
                         $response_l = mb_strlen($response, "ASCII");
                         $wret = @fwrite($sock, $response);
                         if ($wret < $response_l) {