diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-01-27 14:20:24 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-02-17 11:41:06 +0100 |
| commit | 73028af85c11bd947184a73c1e2d7902819695b2 (patch) | |
| tree | 5be249b035620603b70dbe1e321a28f87ff4b7ea /src/fileops.c | |
| parent | 85d2748c6f75bd810c7376647c8ae32984b5e3bb (diff) | |
| download | libgit2-73028af85c11bd947184a73c1e2d7902819695b2.tar.gz | |
khash: avoid using macro magic to get return address
Diffstat (limited to 'src/fileops.c')
| -rw-r--r-- | src/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index 7a8733209..0b0ed42be 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -607,7 +607,7 @@ retry_lstat: memcpy(cache_path, make_path.ptr, make_path.size + 1); - git_strmap_insert(opts->dir_map, cache_path, cache_path, error); + git_strmap_insert(opts->dir_map, cache_path, cache_path, &error); if (error < 0) goto done; } |
