From ba9709cb9f9a455d1bde974f2a0fb1275b99e3d8 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Mon, 19 May 2014 01:34:39 -0700 Subject: [PATCH] client: fix bug in set_cc_config RPC saving value of option. - CC_CONFIG.start_delay is a double, not an int, so CC_CONFIG::write() must use %f format rather than %d. --- lib/cc_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cc_config.cpp b/lib/cc_config.cpp index e9d5e40f3f..efe486a859 100644 --- a/lib/cc_config.cpp +++ b/lib/cc_config.cpp @@ -652,7 +652,7 @@ int CC_CONFIG::write(MIOFILE& out, LOG_FLAGS& log_flags) { " %d\n" " %d\n" " %d\n" - " %d\n" + " %f\n" " %d\n" " %d\n" " %d\n"