diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php
index a6994c2f741e6f093fdb106354a510163fbe753a..b9875d6c4686863594798effcd649568699582b2 100644
--- a/ecrire/inc/distant.php
+++ b/ecrire/inc/distant.php
@@ -194,7 +194,7 @@ function recuperer_page($url, $munge_charset=false, $get_headers=false,
 			if ($status >= 300 AND $status < 400 AND $location)
 				$url = $location;
 			else if ($status != 200)
-				return;
+				return false;
 			else
 				break; # ici on est content
 			fclose($f);