On 02/19/2014 02:13 PM, Brian C. Lane wrote: > - extraHeaders = realloc(extraHeaders, (len+1)*sizeof(char *)); > + /* Trim off any trailing newlines or spaces */ > + for (p=sn+strlen(sn); p != sn && !isspace(*p); p--); > + *p = '\0'; Extra semicolon at the end of the "for"