openwrt_archive/utils/scponly/patches/001-elif_else_replacement.patch
Florian Fainelli c791225f66 [package] fix scponly compilation failure (#6986)
SVN-Revision: 20575
2010-03-29 11:03:23 +00:00

13 lines
381 B
Diff

diff -urN scponly-4.8/helper.c scponly-4.8.new/helper.c
--- scponly-4.8/helper.c 2008-01-15 07:26:13.000000000 +0100
+++ scponly-4.8.new/helper.c 2010-03-29 09:48:33.000000000 +0200
@@ -230,7 +230,7 @@
return 1;
}
}
-#elif
+#else
/*
* make sure that processing doesn't continue if we can't validate a rsync check
* and if the getopt flag is set.