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
(parent:
d61bd2d
)
Use strchr instead of index
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Jul 2005 18:34:16 +0000
(18:34 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Jul 2005 18:34:16 +0000
(18:34 +0000)
data1/d1_absyn.c
patch
|
blob
|
history
diff --git
a/data1/d1_absyn.c
b/data1/d1_absyn.c
index
4ab6d1a
..
823dab9
100644
(file)
--- a/
data1/d1_absyn.c
+++ b/
data1/d1_absyn.c
@@
-1,4
+1,4
@@
-/* $Id: d1_absyn.c,v 1.9.2.3 2005-06-29 16:52:50 adam Exp $
+/* $Id: d1_absyn.c,v 1.9.2.4 2005-07-19 18:34:16 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
@@
-467,7
+467,7
@@
static int melm2xpath(char *melm, char *buf)
char *field = melm;
char *subfield;
char *fieldtype;
- if ((dollar = index(melm, '$'))) {
+ if ((dollar = strchr(melm, '$'))) {
*dollar = '\0';
subfield = ++dollar;
} else