projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More missing IPv6 definitions and autoconf checks to make sure it compiles
[tinc]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index
09e72a5
..
75d7ebe
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.6
3 2003/07/06 23:16:28
guus Exp $
+ $Id: conf.c,v 1.9.4.6
4 2003/07/11 16:12:59
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-429,16
+429,6
@@
int read_server_config()
return x;
}
return x;
}
-static int isadir(const char *f)
-{
- struct stat s;
-
- if(stat(f, &s) < 0)
- return 0;
- else
- return S_ISDIR(s.st_mode);
-}
-
int is_safe_path(const char *file)
{
char *p;
int is_safe_path(const char *file)
{
char *p;