]>
Commit | Line | Data |
---|---|---|
b24435b4 ER |
1 | --- eventum-20060112/misc/scm/process_cvs_commits.php 2006-01-24 17:10:02.000000000 +0200 |
2 | +++ /tmp/scm 2006-01-24 17:09:31.000000000 +0200 | |
3 | @@ -94,6 +95,11 @@ | |
4 | $msg .= "Host: $eventum_domain\r\n"; | |
5 | $msg .= "Connection: Close\r\n\r\n"; | |
6 | fwrite($fp, $msg); | |
7 | + $buf = fgets($fp, 4096); | |
8 | + list($proto, $status, $msg) = explode(' ', trim($buf)); | |
9 | + if ($status != '200') { | |
10 | + echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n"; | |
11 | + } | |
12 | fclose($fp); | |
13 | } | |
14 | } |