diff options
| author | Vicent Marti <vicent@github.com> | 2014-01-14 12:41:01 -0800 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-01-14 12:41:01 -0800 |
| commit | 3c1b3ded12afa443158287c22b81fb9419680072 (patch) | |
| tree | ea697c05ae700d82624f9ecc67dce390a21fe403 /src/reflog.c | |
| parent | 30aebe6334d5164ba58713d653d44b47632ee6d9 (diff) | |
| parent | 529f342aba858e81f370aca9570fa149ebba674b (diff) | |
| download | libgit2-3c1b3ded12afa443158287c22b81fb9419680072.tar.gz | |
Merge pull request #2047 from arthurschreiber/arthur/fix-dup-functions
Align `*_dup` functions
Diffstat (limited to 'src/reflog.c')
| -rw-r--r-- | src/reflog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflog.c b/src/reflog.c index 9b2b201bf..8e41621ea 100644 --- a/src/reflog.c +++ b/src/reflog.c @@ -82,7 +82,7 @@ int git_reflog_append(git_reflog *reflog, const git_oid *new_oid, const git_sign entry = git__calloc(1, sizeof(git_reflog_entry)); GITERR_CHECK_ALLOC(entry); - if ((entry->committer = git_signature_dup(committer)) == NULL) + if ((git_signature_dup(&entry->committer, committer)) < 0) goto cleanup; if (msg != NULL) { |
