Fixes bug #2981, "claws-mail-3.9.3 compilation warnings"
- if(strncmp((line+2),parent_header->boundary,
- sizeof(parent_header->boundary)) == 0){
+ if(strcmp((line+2),parent_header->boundary) == 0){
*end_part = action.end_part(part);
if(sspm_is_mime_boundary(line)){
*end_part = action.end_part(part);
if(sspm_is_mime_boundary(line)){
/* Check if it is the right boundary */
if(!sspm_is_mime_terminating_boundary(line) &&
/* Check if it is the right boundary */
if(!sspm_is_mime_terminating_boundary(line) &&
- strncmp((line+2),parent_header->boundary,
- sizeof(parent_header->boundary))
- == 0){
+ strcmp((line+2),parent_header->boundary) == 0){
/* The +2 in strncmp skips over the leading "--" */
break;
/* The +2 in strncmp skips over the leading "--" */
break;
}
case HEADER_CONTINUATION: {
}
case HEADER_CONTINUATION: {
char *buf_start;
if(current_line < 0){
char *buf_start;
if(current_line < 0){
}
last_line = header_lines[current_line];
}
last_line = header_lines[current_line];
- end = (char*) ( (size_t)strlen(last_line)+
- (size_t)last_line);