projects
/
yaz-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:
82fade1
)
Reformat
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 20 Dec 2012 11:02:21 +0000
(12:02 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 20 Dec 2012 11:02:21 +0000
(12:02 +0100)
src/odr_util.c
patch
|
blob
|
history
diff --git
a/src/odr_util.c
b/src/odr_util.c
index
58b60cb
..
d437940
100644
(file)
--- a/
src/odr_util.c
+++ b/
src/odr_util.c
@@
-108,12
+108,11
@@
char *odr_prepend(ODR o, const char *prefix, const char *old)
*res = '\0';
if (plen > 0)
- strcpy (res, prefix);
+ strcpy(res, prefix);
if (plen > 0 && old != 0)
- strcat (res, "/");
- if (old !=0)
- strcat (res, old);
-
+ strcat(res, "/");
+ if (old != 0)
+ strcat(res, old);
return res;
}
/*