From 13f5b54105471a8a4c400fa19e4a16c447ea30a0 Mon Sep 17 00:00:00 2001 From: Vladyslav Korzun Date: Fri, 17 Mar 2023 14:22:19 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'du5/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du5/program.c b/du5/program.c index 81e092d..12387d8 100644 --- a/du5/program.c +++ b/du5/program.c @@ -37,7 +37,7 @@ int compare_students(const void* a, const void* b) { return -1; } else { - return 0; + return strcmp(student_a->name, student_b->name); } }