blob: ea3ae96862542e832ffb824bd392fcf4f20c9309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Fix a bug involving CheckFriendReliability (see bug #482439)
Index: cfengine2-2.2.9/src/instrument.c
===================================================================
--- cfengine2-2.2.9.orig/src/instrument.c 2009-03-06 21:25:59.000000000 +0000
+++ cfengine2-2.2.9/src/instrument.c 2009-03-06 21:26:31.000000000 +0000
@@ -716,11 +716,11 @@
key.data = timekey;
key.size = strlen(timekey)+1;
- if ((errno = dbp->get(dbp,NULL,&key,&value,0)) != 0)
+ if ((errno = dbpent->get(dbpent,NULL,&key,&value,0)) != 0)
{
if (errno != DB_NOTFOUND)
{
- dbp->err(dbp,errno,NULL);
+ dbpent->err(dbpent,errno,NULL);
exit(1);
}
}
|