bug-cfengine
[Top][All Lists]
Advanced

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

item.c little corection


From: Max Kliche
Subject: item.c little corection
Date: Thu, 27 Jan 2005 14:47:43 +0100 (CET)
User-agent: SquirrelMail/1.4.4

Hallo all

here is a little patch for item.c because it would not compile hre on the
solaris box. With this patch it compiles. Only a variable Declaration move
;)

best regards
Max Kliche

diff -u item.c-old item.c

--- item.c-old  2005-01-27 13:44:00.214654464 +0100
+++ item.c      2005-01-27 13:44:08.233435424 +0100
@@ -1035,11 +1035,11 @@

 { struct Item *args;
   char *sp;
+  char host_basename[CF_MAXVARSIZE];
   long cmp = -1, start = -1, end = -1;
   Debug("SRDEBUG in FuzzyHostMatch(): %s vs %s\n",s2,s1);
   args = SplitStringAsItemList(s1,',');
   sp = s2;
-  char host_basename[CF_MAXVARSIZE];

   for (sp = s2+strlen(s2)-1; sp > s2; sp--)
      {








reply via email to

[Prev in Thread] Current Thread [Next in Thread]