neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit d34b96719053ff9340519b64f6d970caaa64350d
parent 94e5f212f55d3f4dd6ce83edb6db823de7eb8cc7
Author: John Keeping <john@keeping.me.uk>
Date:   Sun,  8 Mar 2015 16:32:25 +0000

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

Signed-off-by: John Keeping <john@keeping.me.uk>

Diffstat:
Mui-shared.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-shared.c b/ui-shared.c @@ -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)