scponly-4.8-gcc4.4.0.patch 571 B

12345678910111213141516
  1. --- helper.c.orig 2009-05-11 00:33:08.000000000 -0600
  2. +++ helper.c 2009-05-11 00:39:59.000000000 -0600
  3. @@ -259,11 +259,11 @@
  4. PROG_RSYNC, logstamp());
  5. return 1;
  6. }
  7. #endif /* RSYNC_COMPAT */
  8. -#elif /* HAVE_GETOPT */
  9. +#else /* HAVE_GETOPT */
  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.
  13. */
  14. syslog(LOG_ERR, "a getopt() argument check could not be performed for %s, recompile scponly without support for %s or rebuild scponly with getopt", av[0], av[0]);