fix a typo

This commit is contained in:
Ivana Hutarova Varekova 2011-03-23 15:49:36 +01:00
parent f73d977692
commit 33632776e0

View File

@ -1,7 +1,7 @@
diff -up man-db-2.5.9/src/man.c.pom man-db-2.5.9/src/man.c diff -up man-db-2.5.9/src/man.c.sec man-db-2.5.9/src/man.c
--- man-db-2.5.9/src/man.c.pom 2010-11-17 12:31:24.000000000 +0100 --- man-db-2.5.9/src/man.c.sec 2010-11-17 12:31:24.000000000 +0100
+++ man-db-2.5.9/src/man.c 2011-03-23 12:11:46.000000000 +0100 +++ man-db-2.5.9/src/man.c 2011-03-23 15:28:41.000000000 +0100
@@ -2827,6 +2827,21 @@ static int compare_candidates (const str @@ -2827,10 +2827,24 @@ static int compare_candidates (const str
* moved out of order with respect to their parent sections. * moved out of order with respect to their parent sections.
*/ */
if (strcmp (lsource->ext, rsource->ext)) { if (strcmp (lsource->ext, rsource->ext)) {
@ -23,3 +23,7 @@ diff -up man-db-2.5.9/src/man.c.pom man-db-2.5.9/src/man.c
/* Find out whether lsource->ext is ahead of rsource->ext in /* Find out whether lsource->ext is ahead of rsource->ext in
* section_list. * section_list.
*/ */
- const char **sp;
for (sp = section_list; *sp; ++sp) {
if (!*(*sp + 1)) {
/* No extension */