From 3d168d8209a7708c568ba13620b6f704d01e3dde Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 20 Dec 2012 12:02:21 +0100 Subject: [PATCH] Reformat --- src/odr_util.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; } /* -- 1.7.10.4