Fixed vCard bug (#16)

This commit is contained in:
Match Grun 2003-01-25 06:09:45 +00:00
parent 720cdb3357
commit 75f5b46a9a
3 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2003-01-24 [match] 0.8.9claws4
* src/vcard.c
fixed bug with Quoted-Printable
2003-01-25 [paul] 0.8.9claws3
* src/folder.[ch]

View file

@ -11,7 +11,7 @@ MINOR_VERSION=8
MICRO_VERSION=9
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws3
EXTRA_VERSION=claws4
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -281,10 +281,8 @@ static gchar *vcard_read_qp( VCardFile *cardFile, char *tagvalue ) {
while( line ) {
listQP = g_slist_append( listQP, line );
len = strlen( line ) - 1;
if( len > 0 ) {
if( line[ len ] != '=' ) break;
line[ len ] = '\0';
}
if( line[ len ] != '=' ) break;
line[ len ] = '\0';
line = vcard_get_line( cardFile );
}