From b28a2f58cecab24d2872964dabe53e3b3caaf476 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 12 Oct 2010 19:51:57 +0000 Subject: [PATCH] a minor change --- bcftools/bcf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bcftools/bcf.c b/bcftools/bcf.c index 3531647..9044b93 100644 --- a/bcftools/bcf.c +++ b/bcftools/bcf.c @@ -283,8 +283,7 @@ int bcf_append_info(bcf1_t *b, const char *info, int l) b->str[shift + l - 1] = '\0'; b->fmt = b->str + shift + l; b->l_str += l; - bcf_sync(b); -// if (ori != b->str) bcf_sync(b); // synchronize when realloc changes the pointer + if (ori != b->str) bcf_sync(b); // synchronize when realloc changes the pointer return 0; } -- 2.39.5