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 @@
#include <ctype.h>
#include <mailutils/mu_auth.h>
#include <mailutils/cstr.h>
#ifdef WITH_LDAP
#include "mailutils/argcv.h"
......
......@@ -44,7 +44,6 @@
#include <mailutils/list.h>
#include <mailutils/iterator.h>
#include <mailutils/mailbox.h>
#include <mailutils/sql.h>
#include <mailutils/mu_auth.h>
#include <mailutils/error.h>
#include <mailutils/errno.h>
......@@ -52,6 +51,7 @@
#include <mailutils/mutil.h>
#include <mailutils/sql.h>
#include <mailutils/vartab.h>
#include <mailutils/cstr.h>
#include "sql.h"
#ifdef USE_SQL
......
......@@ -392,7 +392,7 @@ b_istring (union argument *args)
for (i = 0; i < str->len; i++)
{
int c = getc (mimeview_fp);
if (c == EOF || tolower (c) != tolower (str->ptr[i]))
if (c == EOF || mu_tolower (c) != mu_tolower (str->ptr[i]))
return 0;
}
return 1;
......