changeset 15285:2a44991cbf66

Avoid using PATH_MAX.
author Timo Sirainen <tss@iki.fi>
date Fri, 28 Sep 2012 15:11:30 +0300
parents 75aadea5c2a2
children 6cac808c4bd8
files src/lib-storage/index/dbox-common/dbox-storage.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-common/dbox-storage.c	Fri Sep 28 15:07:11 2012 +0300
+++ b/src/lib-storage/index/dbox-common/dbox-storage.c	Fri Sep 28 15:11:30 2012 +0300
@@ -1,6 +1,7 @@
 /* Copyright (c) 2007-2012 Dovecot authors, see the included COPYING file */
 
 #include "lib.h"
+#include "abspath.h"
 #include "ioloop.h"
 #include "fs-api.h"
 #include "mkdir-parents.h"
@@ -32,7 +33,6 @@
 			  const char *alt_path, const char *alt_symlink_path)
 {
 	const char *linkpath;
-	ssize_t ret;
 
 	if (t_readlink(alt_symlink_path, &linkpath) < 0) {
 		if (errno == ENOENT)