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

Signed-off-by: John Keeping <john@keeping.me.uk>
Este commit está contenido en:
John Keeping 2015-03-08 16:32:25 +00:00 cometido por Jason A. Donenfeld
padre 94e5f212f5
commit d34b967190

Ver fichero

@ -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)