Include <mailutils/error.h>
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <pwd.h> | 6 | #include <pwd.h> |
7 | 7 | ||
8 | #include <mailutils/error.h> | ||
8 | 9 | ||
9 | #ifdef HAVE_MYSQL | 10 | #ifdef HAVE_MYSQL |
10 | 11 | ||
... | @@ -27,7 +28,7 @@ sql_expand_query (const char *query, const char *ustr) | ... | @@ -27,7 +28,7 @@ sql_expand_query (const char *query, const char *ustr) |
27 | return NULL; | 28 | return NULL; |
28 | 29 | ||
29 | /* Compute resulting query length */ | 30 | /* Compute resulting query length */ |
30 | for (len = 0, p = query; *p; ) | 31 | for (len = 0, p = (char *) query; *p; ) |
31 | { | 32 | { |
32 | if (*p == '%') | 33 | if (*p == '%') |
33 | { | 34 | { |
... | @@ -58,7 +59,7 @@ sql_expand_query (const char *query, const char *ustr) | ... | @@ -58,7 +59,7 @@ sql_expand_query (const char *query, const char *ustr) |
58 | if (!res) | 59 | if (!res) |
59 | return res; | 60 | return res; |
60 | 61 | ||
61 | for (p = query, q = res; *p; ) | 62 | for (p = (char *) query, q = res; *p; ) |
62 | { | 63 | { |
63 | if (*p == '%') | 64 | if (*p == '%') |
64 | { | 65 | { | ... | ... |
-
Please register or sign in to post a comment