Fix bug 437418 - libical shouldn't add extra linefeed after inner components of VTIMEZONE. r=dbo
authorStefan Sitter <ssitter@gmail.com>
Mon, 29 Sep 2008 20:17:57 +0200
changeset 463 ddaeff038effb89ae2572889ace678c09dd7ff73
parent 462 71e7cad5c95abd53f03c35ed720d7cacc27d2631
child 464 9b9f50fbe201ca8d5f27bc392d3f28af7fa44624
push idunknown
push userunknown
push dateunknown
reviewersdbo
bugs437418
Fix bug 437418 - libical shouldn't add extra linefeed after inner components of VTIMEZONE. r=dbo
calendar/libical/src/libical/icalcomponent.c
--- a/calendar/libical/src/libical/icalcomponent.c
+++ b/calendar/libical/src/libical/icalcomponent.c
@@ -362,17 +362,16 @@ icalcomponent_as_ical_string (icalcompon
        icalmemory_append_string(&buf, &buf_ptr, &buf_size, tmp_buf);
        
    }
    
    icalmemory_append_string(&buf, &buf_ptr, &buf_size, "END:");
    icalmemory_append_string(&buf, &buf_ptr, &buf_size, 
 			    icalcomponent_kind_to_string(kind));
    icalmemory_append_string(&buf, &buf_ptr, &buf_size, newline);
-   icalmemory_append_string(&buf, &buf_ptr, &buf_size, newline);
 
    out_buf = icalmemory_tmp_copy(buf);
    free(buf);
 
    return out_buf;
 }