CVS: phpweather data_retrieval.php,1.28,1.29
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-09-22 09:53:15
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv32626 Modified Files: data_retrieval.php Log Message: Stupid switch! Index: data_retrieval.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/data_retrieval.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- data_retrieval.php 22 Sep 2002 09:51:54 -0000 1.28 +++ data_retrieval.php 22 Sep 2002 09:53:12 -0000 1.29 @@ -264,9 +264,11 @@ switch ($this->properties['fetch_method']) { case 'file': $metar_data = $this->get_metar_file($icao); + break; case 'fsockopen': default: $metar_data = $this->get_metar_socket($icao); + break; } /* Here we test to see if we actually got a METAR. */ |