http://dcherukhin.i2p/programs/ldus/source/network/gitweb.cgi.c
cb0) return 1;
} else {
struct tm tm;
localtime_r(&cb0->time, &tm);
printf(" %02d.%02d.%04d %02d:%02d %s %s %s \n",
tm.tm_mday, tm.tm_mon + 1, tm.tm_year + 1900, tm.tm_hour, tm.tm_min,
cb0->name, cb0->commit, g_rep, cb0->commit, cb->commit, cb0->message);
}
memcpy(cb0, cb, sizeof(struct ldus_git_log_callback));
return 0;
}
int main(void) {
struct blog blog;
char pwd[PATH_MAX], title2[STRLEN];
const char *rep;
int...