From 3de174c3e5798a520b7e1df79a1e26898a94b29e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 24 Nov 2007 13:01:45 +0100 Subject: [PATCH] com_lsblob(): Fix sorting order. --- blob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blob.c b/blob.c index a5ea93aa..8675ee73 100644 --- a/blob.c +++ b/blob.c @@ -100,9 +100,9 @@ static int com_lsblob_callback(struct osl_table *table, if (lbad.flags & BLOB_LS_FLAG_REVERSE) pmd.pm_flags |= PM_REVERSE_LOOP; if (!(lbad.flags & BLOB_LS_FLAG_SORT_BY_ID)) - pmd.loop_col_num = BLOBCOL_ID; - else pmd.loop_col_num = BLOBCOL_NAME; + else + pmd.loop_col_num = BLOBCOL_ID; ret = for_each_matching_row(&pmd); if (ret < 0) para_printf(&lbad.pb, "%s\n", PARA_STRERROR(-ret)); -- 2.39.5