Use hashcpy() when copying object names
[gitweb.git] / date.c
diff --git a/date.c b/date.c
index 29f15404feab0d98f377b312a3fcf5d8888fdb0a..83b4166344b31ea615603acaeb95a873f2c05077 100644 (file)
--- a/date.c
+++ b/date.c
@@ -907,7 +907,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, struct tm
        const char *end = date;
        int i;
 
-       while (isalpha(*++end));
+       while (isalpha(*++end))
                ;
 
        for (i = 0; i < 12; i++) {