]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- add limit to explode call
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 25 Jul 2006 06:17:15 +0000 (06:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-scm-parse-response.patch -> 1.2
    eventum-svn.patch -> 1.2

eventum-scm-parse-response.patch
eventum-svn.patch

index 535f4886f38ad6e0e9953988fefe01fdc75decef..d7f67ff552bef1129fb23bfe9b60860e7f4d2f60 100644 (file)
@@ -5,7 +5,7 @@
          $msg .= "Connection: Close\r\n\r\n";
          fwrite($fp, $msg);
 +        $buf = fgets($fp, 4096);
-+        list($proto, $status, $msg) = explode(' ', trim($buf));
++        list($proto, $status, $msg) = explode(' ', trim($buf), 3);
 +        if ($status != '200') {
 +            echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n";
 +        }
index c457fc7d46840592257b67c57f97faba9ae88e51..888a4c6e68208d9bbc4b10926f40bb94f1b314bd 100644 (file)
 +        $msg .= "Connection: Close\r\n\r\n";
 +        fwrite($fp, $msg);
 +        $buf = fgets($fp, 4096);
-+        list($proto, $status, $msg) = explode(' ', trim($buf));
++        list($proto, $status, $msg) = explode(' ', trim($buf), 3);
 +        if ($status != '200') {
 +            echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n";
          }
This page took 0.072269 seconds and 4 git commands to generate.