aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index d4c4bb9..1e3c131 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -82,7 +82,7 @@ const char *cgit_rooturl(void)
82 82
83const char *cgit_loginurl(void) 83const char *cgit_loginurl(void)
84{ 84{
85 static const char *login_url = 0; 85 static const char *login_url;
86 if (!login_url) 86 if (!login_url)
87 login_url = fmtalloc("%s?p=login", cgit_rooturl()); 87 login_url = fmtalloc("%s?p=login", cgit_rooturl());
88 return login_url; 88 return login_url;