typo fixed
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 5 Aug 2012 05:36:19 +0000 (07:36 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 5 Aug 2012 05:36:19 +0000 (07:36 +0200)
web/Obj/sac-a-push.phh

index 746f7ec..bc0ea87 100644 (file)
@@ -346,7 +346,6 @@ class Sac_a_push {
                     else {
                         if (($buf = fread($sock, 512)) === FALSE) {
                             printf("error read\n");
                     else {
                         if (($buf = fread($sock, 512)) === FALSE) {
                             printf("error read\n");
-                            exit(123);
                         }
                         else if (strlen($buf) === 0) {
                             if ($sock === $this->list) {
                         }
                         else if (strlen($buf) === 0) {
                             if ($sock === $this->list) {
@@ -371,7 +370,7 @@ class Sac_a_push {
                             }
                         }
                         else {
                             }
                         }
                         else {
-                            if ($debug > 1) {
+                            if ($this->debug > 1) {
                                 print_r($read);
                             }
                             if ($sock === $this->list) {
                                 print_r($read);
                             }
                             if ($sock === $this->list) {