include argcv.h; (fetch_send_address): Added const specifier to the declaraton.
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -17,6 +17,7 @@ | ... | @@ -17,6 +17,7 @@ |
17 | 17 | ||
18 | #include "imap4d.h" | 18 | #include "imap4d.h" |
19 | #include <ctype.h> | 19 | #include <ctype.h> |
20 | #include <argcv.h> | ||
20 | 21 | ||
21 | /* This will suck, too. | 22 | /* This will suck, too. |
22 | Alain: Yes it does. */ | 23 | Alain: Yes it does. */ |
... | @@ -60,7 +61,7 @@ static int fetch_body_content __P ((message_t, unsigned long, unsigned long | ... | @@ -60,7 +61,7 @@ static int fetch_body_content __P ((message_t, unsigned long, unsigned long |
60 | static int fetch_io __P ((stream_t, unsigned long, unsigned long, unsigned long)); | 61 | static int fetch_io __P ((stream_t, unsigned long, unsigned long, unsigned long)); |
61 | static int fetch_header_fields __P ((message_t, char **, unsigned long, unsigned long)); | 62 | static int fetch_header_fields __P ((message_t, char **, unsigned long, unsigned long)); |
62 | static int fetch_header_fields_not __P ((message_t, char **, unsigned long, unsigned long)); | 63 | static int fetch_header_fields_not __P ((message_t, char **, unsigned long, unsigned long)); |
63 | static int fetch_send_address __P ((char *)); | 64 | static int fetch_send_address __P ((const char *)); |
64 | 65 | ||
65 | static struct fetch_command* fetch_getcommand __P ((char *, struct fetch_command[])); | 66 | static struct fetch_command* fetch_getcommand __P ((char *, struct fetch_command[])); |
66 | 67 | ||
... | @@ -1437,7 +1438,7 @@ fetch_header_fields_not (message_t msg, char **arg, unsigned long start, | ... | @@ -1437,7 +1438,7 @@ fetch_header_fields_not (message_t msg, char **arg, unsigned long start, |
1437 | /* FIXME: The address is limit by a buffer of 128, no good. We should | 1438 | /* FIXME: The address is limit by a buffer of 128, no good. We should |
1438 | allocate the buffer. */ | 1439 | allocate the buffer. */ |
1439 | static int | 1440 | static int |
1440 | fetch_send_address (char *addr) | 1441 | fetch_send_address (const char *addr) |
1441 | { | 1442 | { |
1442 | address_t address; | 1443 | address_t address; |
1443 | size_t i, count = 0; | 1444 | size_t i, count = 0; | ... | ... |
-
Please register or sign in to post a comment