summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2273c2c)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
}
ret = &cgit_repolist.repos[cgit_repolist.count-1];
}
ret = &cgit_repolist.repos[cgit_repolist.count-1];
+ memset(ret, 0, sizeof(struct cgit_repo));
ret->url = trim_end(url, '/');
ret->name = ret->url;
ret->path = NULL;
ret->url = trim_end(url, '/');
ret->name = ret->url;
ret->path = NULL;