]> git.proxmox.com Git - libgit2.git/commit
Fix incorrect array size in example for git_config_get_mapped
authorJosh Triplett <josh@joshtriplett.org>
Sun, 12 Aug 2012 10:56:15 +0000 (03:56 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 12 Aug 2012 10:56:15 +0000 (03:56 -0700)
commitb90202bbdda36d586ac9ea1680b8faf93b58b2fe
tree699e347a5f0e633972fc2f04b593acac5ecd8b1b
parentc9d78bde943213f4c2594d1df175336573678b74
Fix incorrect array size in example for git_config_get_mapped

In the documentation for git_config_get_mapped, the sample mapping
array uses [3] but has 4 entries.  Fix by dropping the size entirely and
letting the compiler figure it out.
include/git2/config.h