[package] fix scponly compilation failure (#6986)
[openwrt/svn-archive/archive.git] / utils / scponly / patches / 001-elif_else_replacement.patch
1 diff -urN scponly-4.8/helper.c scponly-4.8.new/helper.c
2 --- scponly-4.8/helper.c 2008-01-15 07:26:13.000000000 +0100
3 +++ scponly-4.8.new/helper.c 2010-03-29 09:48:33.000000000 +0200
4 @@ -230,7 +230,7 @@
5 return 1;
6 }
7 }
8 -#elif
9 +#else
10 /*
11 * make sure that processing doesn't continue if we can't validate a rsync check
12 * and if the getopt flag is set.