Browse code

clamdtop: fix typo in last commit

David Raynor authored on 2013/08/14 02:49:57
Showing 1 changed files
... ...
@@ -858,7 +858,7 @@ static int output_stats(struct stats *stats, unsigned idx)
858 858
 
859 859
 	if (!stats->db_time.tm_year) {
860 860
 		strncpy(timbuf,"N/A",sizeof(timbuf));
861
-		timbuf[size(timbuf)-1]='\0';
861
+		timbuf[sizeof(timbuf)-1]='\0';
862 862
 	}
863 863
 	else
864 864
 		snprintf(timbuf, sizeof(timbuf), "%04u-%02u-%02u %02uh",