[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] multipath-tools/libmultipath dict.c



CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins sourceware org	2011-10-10 04:18:38

Modified files:
	libmultipath   : dict.c 

Log message:
	Fix for bz #716329
	
	Don't accept a file_timeout of 0. Not applicable upstream.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/dict.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.17.2.20&r2=1.17.2.21

--- multipath-tools/libmultipath/dict.c	2011/10/10 04:15:41	1.17.2.20
+++ multipath-tools/libmultipath/dict.c	2011/10/10 04:18:38	1.17.2.21
@@ -92,7 +92,7 @@
 	if (!buff)
 		return 1;
 	conf->file_timeout = atoi(buff);
-	if (conf->file_timeout < 0)
+	if (conf->file_timeout <= 0)
 		 conf->file_timeout = DEFAULT_FILE_TIMEOUT;
 
 	FREE(buff);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]