Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 39e51dbca690b5de772070af30e33b9f > files > 1

noip-2.1.9-2mdv2010.0.src.rpm

diff -Naur noip-2.1.9/noip2.c noip-2.1.9.tpg/noip2.c
--- noip-2.1.9/noip2.c	2008-11-21 22:19:54.000000000 +0000
+++ noip-2.1.9.tpg/noip2.c	2008-11-25 21:59:27.000000000 +0000
@@ -235,8 +235,11 @@
 #ifndef PREFIX
   #define PREFIX		"/usr/local"
 #endif
-#define CONFIG_FILEPATH		PREFIX"/etc"
-#define CONFIG_FILENAME		PREFIX"/etc/no-ip2.conf"
+#ifndef CONFDIR
+  #define CONFDIR		"/etc"
+#endif
+#define CONFIG_FILEPATH		CONFDIR
+#define CONFIG_FILENAME		CONFDIR"/noip.conf"
 #define CONFSTRLEN		1024
 #define MAX_DEVLEN		16
 #define MAX_INSTANCE		4