Changeset 2495

Show
Ignore:
Timestamp:
08/27/07 19:42:26 (1 year ago)
Author:
cstender
Message:

remove unnecessary +1 in outpsize = strlen(*output)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • format-plugins/vformat/src/xmlformat-vcard.c

    r2258 r2495  
    19151915        *free_input = TRUE; 
    19161916        *output = vformat_to_string(vcard, target); 
    1917         *outpsize = strlen(*output) + 1
     1917        *outpsize = strlen(*output)
    19181918 
    19191919        vformat_free(vcard); 
  • format-plugins/vformat/src/xmlformat-vevent.c

    r2335 r2495  
    831831        *free_input = TRUE; 
    832832        *output = vformat_to_string(vcalendar, target); 
    833         *outpsize = strlen(*output) + 1
     833        *outpsize = strlen(*output)
    834834 
    835835        vformat_free(vcalendar); 
  • format-plugins/vformat/src/xmlformat-vnote.c

    r2258 r2495  
    167167        *free_input = TRUE; 
    168168        *output = vformat_to_string (vnote, target); 
    169         *outpsize = strlen(*output) + 1
     169        *outpsize = strlen(*output)
    170170         
    171171        vformat_free(vnote);