projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
24a64bb
)
Fixed the way keys are displayed in the log
author
Heikki Levanto
<heikki@indexdata.dk>
Thu, 4 Nov 2004 11:47:23 +0000
(11:47 +0000)
committer
Heikki Levanto
<heikki@indexdata.dk>
Thu, 4 Nov 2004 11:47:23 +0000
(11:47 +0000)
index/kcompare.c
patch
|
blob
|
history
diff --git
a/index/kcompare.c
b/index/kcompare.c
index
af02709
..
eaf4d33
100644
(file)
--- a/
index/kcompare.c
+++ b/
index/kcompare.c
@@
-1,4
+1,4
@@
-/* $Id: kcompare.c,v 1.52 2004-09-15 08:13:51 adam Exp $
+/* $Id: kcompare.c,v 1.53 2004-11-04 11:47:23 heikki Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-46,9
+46,9
@@
void key_logdump_txt (int logmask, const void *p, const char *txt)
*formstr = '\0';
for (i = 0; i<key.len; i++)
{
*formstr = '\0';
for (i = 0; i<key.len; i++)
{
- sprintf(formstr + strlen(formstr), ZINT_FORMAT, key.mem[i]);
if (i)
if (i)
- strcat(formstr, " ");
+ strcat(formstr, ".");
+ sprintf(formstr + strlen(formstr), ZINT_FORMAT, key.mem[i]);
}
logf (logmask, "%s %s", formstr, txt);
}
}
logf (logmask, "%s %s", formstr, txt);
}