From: Timo Sirainen Date: Mon, 21 Jul 2008 00:05:22 +0000 (+0300) Subject: AIX compiling fix. X-Git-Tag: 1.2.alpha1~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=310ef47cf7b913dcae4f7e66e931648dd7435ebd;p=thirdparty%2Fdovecot%2Fcore.git AIX compiling fix. --HG-- branch : HEAD --- diff --git a/src/lib/mountpoint.c b/src/lib/mountpoint.c index 793c3f8832..0696c30249 100644 --- a/src/lib/mountpoint.c +++ b/src/lib/mountpoint.c @@ -123,7 +123,7 @@ int mountpoint_get(const char *path, pool_t pool, struct mountpoint *point_r) for (i = 0; i < count && device_path == NULL; i++) { struct stat vst; const char *vmt_base = (const char *)vmt; - const char *vmt_base, *vmt_object, *vmt_stub, *vmt_hostname; + const char *vmt_object, *vmt_stub, *vmt_hostname; vmt_hostname = vmt_base + vmt->vmt_data[VMT_HOSTNAME].vmt_off; vmt_object = vmt_base + vmt->vmt_data[VMT_OBJECT].vmt_off;