Commit acaac18a6a8b484fab3fd2c8a83c02fc114ffc76

Thomas de Grivel 2022-04-04T09:47:40

remove error message

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/git-auth.c b/git-auth.c
index 4384a20..6d43175 100644
--- a/git-auth.c
+++ b/git-auth.c
@@ -122,6 +122,7 @@ static void log_rule (const char *op, s_rule *rule)
         msg[m++] = ' ';
         m += strlcpy(msg + m, rule->path, sizeof(msg) - m);
         syslog(LOG_INFO, "%s %s", op, msg);
+        return;
  overflow:
         fprintf(stderr, "git-auth: log_rule: buffer overflow !\n");
 }