]> git.proxmox.com Git - libgit2.git/commit
indexer: NUL-terminate the filename
authorCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 5 Oct 2011 17:59:34 +0000 (19:59 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 5 Oct 2011 18:25:28 +0000 (20:25 +0200)
commit72d6a20be073c2854cca220c851c977171a5a465
tree3ca04a192dd4d1f5922e502c1b3138895dd5ecbc
parent24ce105b40caaed209936e6481ed2fa801f5fd7d
indexer: NUL-terminate the filename

As we no longer use the STRLEN macro, the NUL-terminator in the string
was not copied over. Fix this.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
src/indexer.c