gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-49


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-491-g84b840a
Date: Thu, 25 Apr 2013 20:40:22 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  84b840ab09f5f81751861b4a9652f4555d43e0aa (commit)
      from  a386ab8598fc5468378ede52b5e4b61368a4d281 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=84b840ab09f5f81751861b4a9652f4555d43e0aa


commit 84b840ab09f5f81751861b4a9652f4555d43e0aa
Author: Daniele Forsi <address@hidden>
Date:   Wed Apr 24 23:59:00 2013 +0200

    Use the line actually read instead of replacing it with a constant string
    
    The BEGINS() macro only matched the beginning of the line.

diff --git a/common/vcard.c b/common/vcard.c
index b0c7e3b..91c1221 100644
--- a/common/vcard.c
+++ b/common/vcard.c
@@ -350,8 +350,8 @@ GNOKII_API int gn_vcard2phonebook(FILE *f, 
gn_phonebook_entry *entry)
                if (BEGINS("BEGIN:VCARD"))
                        break;
        }
+       str_append_printf(&str, buf);
 
-       str_append_printf(&str, "BEGIN:VCARD\r\n");
        while (fgets(buf, 1024, f)) {
                str_append_printf(&str, buf);
                if (BEGINS("END:VCARD"))

-----------------------------------------------------------------------

Summary of changes:
 common/vcard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]