From dac272c24febdbc66f7c9d54a67323c9816dbadc Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Thu, 26 Mar 2020 22:14:07 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu3/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index d8c2b94..02b7d7e 100644 --- a/du3/program.c +++ b/du3/program.c @@ -24,7 +24,7 @@ int main() fgets(dateStr, 11, stdin); sscanf(dateStr , "%d:%d:%d" , &hour,&min,&secs); - if(!ValidateTime(hour,min,sec)){ + if(!ValidateTime(hour,min,secs)){ printf("Nespravny datum\n"); } char* res = strptime(dateStr, "%d.%m.%Y", &t);