fixed undefined var
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 25 Feb 2009 16:25:36 +0000 (16:25 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 25 Feb 2009 16:25:36 +0000 (16:25 +0000)
boot/upload-bmlog.php

index 6c7934b..6e29e23 100755 (executable)
@@ -63,6 +63,8 @@ if ( ( strcmp($hostname,$default_hostname)==0) && ( $uploaded_size >= $limit_byt
   fprintf ( $log, "contents from an unrecognized IP address was truncated to %d bytes\n",$limit_bytes);
   $truncated=TRUE;
   $uploaded_size=$limit_bytes;
+ } else {
+  $truncated=FALSE;
  }
 
 fprintf( $log, "-----------------\n\n" );