|
|
@@ -1,6 +1,7 @@
|
|
|
---- src/nntpcache.c.orig 2002-04-05 20:29:58.000000000 +0200
|
|
|
-+++ src/nntpcache.c 2003-07-28 14:02:21.000000000 +0200
|
|
|
-@@ -1247,7 +1247,12 @@
|
|
|
+Index: src/nntpcache.c
|
|
|
+--- src/nntpcache.c.orig 2004-04-11 13:43:56 +0200
|
|
|
++++ src/nntpcache.c 2006-03-06 20:21:29 +0100
|
|
|
+@@ -1242,7 +1242,12 @@
|
|
|
Task = task_info_new (nc_master, "master");
|
|
|
watchInit();
|
|
|
drop_priv(ncUID, ncGID);
|
|
|
@@ -14,7 +15,7 @@
|
|
|
if (!(fh = fopen (PidFile, "w")))
|
|
|
logw (("couldn't open pid file '%s'", PidFile));
|
|
|
else
|
|
|
-@@ -1436,6 +1441,7 @@
|
|
|
+@@ -1431,6 +1436,7 @@
|
|
|
char *config_file = con->configFile;
|
|
|
char *access_file = con->accessFile;
|
|
|
char *bindAddr = NULL;
|
|
|
@@ -22,7 +23,7 @@
|
|
|
struct hostent *hp;
|
|
|
enum task_state task;
|
|
|
char *p = NULL;
|
|
|
-@@ -1456,7 +1462,7 @@
|
|
|
+@@ -1451,7 +1457,7 @@
|
|
|
assert(task_desc[nc_last] == NULL);
|
|
|
task = nc_master;
|
|
|
|
|
|
@@ -31,7 +32,7 @@
|
|
|
switch (c)
|
|
|
{
|
|
|
case 'a':
|
|
|
-@@ -1496,6 +1502,9 @@
|
|
|
+@@ -1491,6 +1497,9 @@
|
|
|
case 'b':
|
|
|
bindAddr = Sstrdup(optarg);
|
|
|
break;
|
|
|
@@ -41,7 +42,7 @@
|
|
|
case 's':
|
|
|
SwapWithChild = TRUE;
|
|
|
break;
|
|
|
-@@ -1563,6 +1572,10 @@
|
|
|
+@@ -1558,6 +1567,10 @@
|
|
|
if (con->bindAddr) free(con->bindAddr);
|
|
|
con->bindAddr = Sstrdup(bindAddr);
|
|
|
}
|