]> diplodocus.org Git - nmh/blobdiff - sbr/icalparse.y
h/prototypes.h: Remove scan_reset_m_getfld_state() prototype.
[nmh] / sbr / icalparse.y
index c0866325decf15872cb64877be263bb0437d4f51..dc58d4aa5cc2aeb9ad327aeb73123878868ee5fa 100644 (file)
@@ -1,5 +1,4 @@
-/*
- * icalparse.y -- icalendar (RFC 5545) parser
+/* icalparse.y -- icalendar (RFC 5545) parser
  *
  * This code is Copyright (c) 2014, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -197,7 +196,7 @@ append (contentline *cline, const char *src, const size_t src_len) {
 
         while (len >= cline->input_line_size) {
             cline->input_line_size = cline->input_line_size == 0
-                ?  (BUFSIZ>=8192 ? BUFSIZ : 8192)
+                ?  NMH_BUFSIZ
                 :  2 * cline->input_line_size;
             cline->input_line =
                 mh_xrealloc (cline->input_line, cline->input_line_size);