git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e12898e
)
private_bcb_flush_tree_key_compare_func(): Oops, LSN must be sorted low-to-high!
author
short
<>
Sun, 13 Jul 2003 09:28:54 +0000
(09:28 +0000)
committer
short
<>
Sun, 13 Jul 2003 09:28:54 +0000
(09:28 +0000)
src/libcaptive/cc/map.c
patch
|
blob
|
history
diff --git
a/src/libcaptive/cc/map.c
b/src/libcaptive/cc/map.c
index
8676546
..
6d3f47c
100644
(file)
--- a/
src/libcaptive/cc/map.c
+++ b/
src/libcaptive/cc/map.c
@@
-344,10
+344,10
@@
gint r;
/* Forbid the same LSNs if both defined */
g_assert(a_lsn==(LONGLONG)G_MININT64 || a_lsn!=b_lsn);
- if ((r=(
b_lsn>a_lsn)-(b_lsn<a
_lsn)))
+ if ((r=(
a_lsn>b_lsn)-(a_lsn<b
_lsn)))
return r;
- return (
b>a)-(b<a
);
+ return (
a>b)-(a<b
);
}
static void private_bcb_flush_tree_init(void)