-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -250,3 +250,3 @@ static void prepare_context(struct cgit_context *ctx) { - memset(ctx, 0, sizeof(ctx)); + memset(ctx, 0, sizeof(*ctx)); ctx->cfg.agefile = "info/web/last-modified"; |
index : patchwork/cgit.git | ||
cgit - fast webinterface for git |
summaryrefslogtreecommitdiffabout |
-rw-r--r-- | cgit.c | 2 |
@@ -250,3 +250,3 @@ static void prepare_context(struct cgit_context *ctx) { - memset(ctx, 0, sizeof(ctx)); + memset(ctx, 0, sizeof(*ctx)); ctx->cfg.agefile = "info/web/last-modified"; |