projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend list_t with the number of elements in the list.
[tinc]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index
3bf9b85
..
b39f4b6
100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-19,7
+19,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: conf.c,v 1.9.4.5
3 2002/02/18 16:25:16
guus Exp $
+ $Id: conf.c,v 1.9.4.5
4 2002/03/24 17:14:01
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-127,7
+127,7
@@
cp
if(!found)
return NULL;
if(!found)
return NULL;
- if(strcmp(found->variable, variable))
+ if(strc
asec
mp(found->variable, variable))
return NULL;
return found;
return NULL;
return found;
@@
-145,7
+145,7
@@
cp
if(node->next)
{
found = (config_t *)node->next->data;
if(node->next)
{
found = (config_t *)node->next->data;
- if(!strcmp(found->variable, cfg->variable))
+ if(!strc
asec
mp(found->variable, cfg->variable))
return found;
}
}
return found;
}
}