From: Adam Dickmeiss Date: Thu, 20 Dec 2012 11:02:21 +0000 (+0100) Subject: Reformat X-Git-Tag: v4.2.48~9 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=3d168d8209a7708c568ba13620b6f704d01e3dde;p=yaz-moved-to-github.git Reformat --- diff --git a/src/odr_util.c b/src/odr_util.c index 58b60cb..d437940 100644 --- 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; } /*