Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-06-12 23:10:33 +0400
committerVicent Marti <tanoku@gmail.com>2013-06-12 23:10:33 +0400
commit6de9b2ee14a2393fae3ed86c5a5d12712c83b083 (patch)
tree5fa21515d4ed0810b0dd35c6e6af1c8d1060e125 /src/config.c
parenteb58e2d0be4e07c2ef873a5f0562eaa90826c2de (diff)
util: It's called `memzero`
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 006025903..068c40260 100644
--- a/src/config.c
+++ b/src/config.c
@@ -47,7 +47,7 @@ static void config_free(git_config *cfg)
git_vector_free(&cfg->files);
- git__memset(cfg, 0, sizeof(*cfg));
+ git__memzero(cfg, sizeof(*cfg));
git__free(cfg);
}