48c5cf152e
mime.cpp:895:12: error: assigning to 'char *' from incompatible type 'const char *' if ( (ptr=strrchr(file, '/')) != NULL ) ^~~~~~~~~~~~~~~~~~~ mimetype.cpp:176:18: error: assigning to 'char *' from incompatible type 'const char *' if ( (extension=strrchr(filename, '.')) == NULL ) ^~~~~~~~~~~~~~~~~~~~~~
12 lines
296 B
C++
12 lines
296 B
C++
--- mime.cpp.orig 2006-01-24 07:58:33 UTC
|
|
+++ mime.cpp
|
|
@@ -844,7 +844,8 @@ MIME_body:: AddPart(const char *file, in
|
|
char line[BUFSIZ];
|
|
int len, blen;
|
|
long here;
|
|
- char *boundary, *ptr;
|
|
+ const char *ptr;
|
|
+ char *boundary;
|
|
char *newcontent, *newencoding;
|
|
|
|
/* Open the input file */
|