1
0
mirror of https://gitea.quitesimple.org/crtxcr/cgitsb synced 2024-12-03 17:28:15 +01:00

ui-shared: don't use an integer as a NULL pointer

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping 2015-03-08 16:32:25 +00:00 committed by Jason A. Donenfeld
parent 94e5f212f5
commit d34b967190

@ -119,7 +119,7 @@ char *cgit_fileurl(const char *reponame, const char *pagename,
char *cgit_pageurl(const char *reponame, const char *pagename,
const char *query)
{
return cgit_fileurl(reponame, pagename, 0, query);
return cgit_fileurl(reponame, pagename, NULL, query);
}
const char *cgit_repobasename(const char *reponame)