Blob Blame History Raw
diff -up lftp-4.3.3/src/commands.cc.tmprec lftp-4.3.3/src/commands.cc
--- lftp-4.3.3/src/commands.cc.tmprec	2011-11-16 12:50:49.885538761 +0100
+++ lftp-4.3.3/src/commands.cc	2011-11-16 12:59:34.008576204 +0100
@@ -1542,20 +1542,7 @@ const char *FileSetOutput::parse_argv(co
 	 time_fmt.set("%Y-%m-%d \n%m-%d %H:%M");
       else
 	 time_fmt.set(time_style);
-      need_exact_time=false;
-      if(time_fmt) {
-	 static const char exact_fmts[][3]={"%H","%M","%S","%N",""};
-	 int sep=strcspn(time_fmt,"\n|");
-	 for(int i=0; exact_fmts[i][0]; i++) {
-	    const char *f=strstr(time_fmt,exact_fmts[i]);
-	    if(!f)
-	       continue;
-	    if(i>1 || sep>f-time_fmt) {
-	       need_exact_time=true;
-	       break;
-	    }
-	 }
-      }
+      need_exact_time = time_fmt && strpbrk(time_fmt, "TrSs");
    }
 
    // remove parsed options.