debian/patches/use_controlchan
raw| 1 | --- inn-1.7.2.orig/innd/art.c |
| 2 | +++ inn-1.7.2/innd/art.c |
| 3 | @@ -1343,6 +1343,13 @@ |
| 4 | } |
| 5 | } |
| 6 | |
| 7 | + { |
| 8 | + char *UseControlchan; |
| 9 | + if ((UseControlchan = GetConfigValue(_CONF_USECONTROLCHAN)) != NULL) |
| 10 | + if (EQ(UseControlchan, "true") || EQ(UseControlchan, "yes")) |
| 11 | + return; |
| 12 | + } |
| 13 | + |
| 14 | /* Build the command vector and execute it. */ |
| 15 | av[0] = buff; |
| 16 | av[1] = COPY(Data->Poster); |