projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c556c5
)
com_lsblob(): Fix sorting order.
author
Andre Noll
<maan@systemlinux.org>
Sat, 24 Nov 2007 12:01:45 +0000
(13:01 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 24 Nov 2007 12:01:45 +0000
(13:01 +0100)
blob.c
patch
|
blob
|
history
diff --git
a/blob.c
b/blob.c
index
a5ea93a
..
8675ee7
100644
(file)
--- 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));