Commit 4b073831 4b073831ad39f3dd15a8bed93ffc026c5f9830f3 by Sergey Poznyakoff

Minor fixes.

* libmu_auth/ldap.c: Include mailutils/cstr.h.
* libmu_auth/sql.c:  Likewise.
* mimeview/mimetypes.y: Use mu_tolower, instead of tolower.
1 parent 8ea94114
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
24 #include <ctype.h> 24 #include <ctype.h>
25 25
26 #include <mailutils/mu_auth.h> 26 #include <mailutils/mu_auth.h>
27 #include <mailutils/cstr.h>
27 28
28 #ifdef WITH_LDAP 29 #ifdef WITH_LDAP
29 #include "mailutils/argcv.h" 30 #include "mailutils/argcv.h"
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
44 #include <mailutils/list.h> 44 #include <mailutils/list.h>
45 #include <mailutils/iterator.h> 45 #include <mailutils/iterator.h>
46 #include <mailutils/mailbox.h> 46 #include <mailutils/mailbox.h>
47 #include <mailutils/sql.h>
48 #include <mailutils/mu_auth.h> 47 #include <mailutils/mu_auth.h>
49 #include <mailutils/error.h> 48 #include <mailutils/error.h>
50 #include <mailutils/errno.h> 49 #include <mailutils/errno.h>
...@@ -52,6 +51,7 @@ ...@@ -52,6 +51,7 @@
52 #include <mailutils/mutil.h> 51 #include <mailutils/mutil.h>
53 #include <mailutils/sql.h> 52 #include <mailutils/sql.h>
54 #include <mailutils/vartab.h> 53 #include <mailutils/vartab.h>
54 #include <mailutils/cstr.h>
55 #include "sql.h" 55 #include "sql.h"
56 56
57 #ifdef USE_SQL 57 #ifdef USE_SQL
......
...@@ -392,7 +392,7 @@ b_istring (union argument *args) ...@@ -392,7 +392,7 @@ b_istring (union argument *args)
392 for (i = 0; i < str->len; i++) 392 for (i = 0; i < str->len; i++)
393 { 393 {
394 int c = getc (mimeview_fp); 394 int c = getc (mimeview_fp);
395 if (c == EOF || tolower (c) != tolower (str->ptr[i])) 395 if (c == EOF || mu_tolower (c) != mu_tolower (str->ptr[i]))
396 return 0; 396 return 0;
397 } 397 }
398 return 1; 398 return 1;
......