X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fsac-a-push.phh;h=441d2eb225955c0e54db0bcfdd0ba2a7cc7bd304;hb=23d51af24fe3da370bd20a7a63ec5d6fd5dcd588;hp=ee30cea80da7b10ca9d91afd989d33a2d265b76b;hpb=7fdf9c5ad973fa951aecd43ad3d903079d1927c8;p=brisk.git diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index ee30cea..441d2eb 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -1,6 +1,6 @@ list) { printf("Arrivati %d bytes da list\n", strlen($buf)); - exit(21); + return(21); } else if ($sock === $this->in) { printf("Arrivati %d bytes da stdin\n", strlen($buf)); - exit(22); + return(22); } else { // $user_a[$s2u[intval($sock)]]->disable(); @@ -606,10 +626,10 @@ class Sac_a_push { } else if ($line == "shutdown") { if ($this->app->dump_data()) { - exit(0); + return(0); } else { - exit(1); + return(1); } } }