[Spread-cvs] commit: r249 - trunk/daemon

jonathan at spread.org jonathan at spread.org
Fri Jul 15 11:46:06 EDT 2005


Author: jonathan
Date: 2005-07-15 11:46:05 -0400 (Fri, 15 Jul 2005)
New Revision: 249

Modified:
   trunk/daemon/configuration.c
Log:
Fix version configuration hash check to only check major/minor version 
not patchlevel as different patchlevels should interoperate.


Modified: trunk/daemon/configuration.c
===================================================================
--- trunk/daemon/configuration.c	2005-07-15 15:43:00 UTC (rev 248)
+++ trunk/daemon/configuration.c	2005-07-15 15:46:05 UTC (rev 249)
@@ -282,10 +282,9 @@
     size_t      curlen = 0;
     char        temp_str[30];
 
-    sprintf(temp_str, "Version: %d.%d.%d", 
+    sprintf(temp_str, "Version: %d.%d", 
             SP_MAJOR_VERSION,
-            SP_MINOR_VERSION,
-            SP_PATCH_VERSION );
+            SP_MINOR_VERSION );
 
     strncat( segstr, temp_str, strsize - curlen);
     curlen += strlen(temp_str);




More information about the Spread-cvs mailing list