Added get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl().
[rsync/rsync.git] / authenticate.c
index e1591ea..8991ac4 100644 (file)
@@ -5,8 +5,9 @@
  * Copyright (C) 2002-2007 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -240,7 +241,7 @@ char *auth_server(int f_in, int f_out, int module, const char *host,
 
        io_printf(f_out, "%s%s\n", leader, challenge);
 
-       if (!read_line(f_in, line, sizeof line - 1)
+       if (!read_line_old(f_in, line, sizeof line)
         || (pass = strchr(line, ' ')) == NULL) {
                rprintf(FLOG, "auth failed on module %s from %s (%s): "
                        "invalid challenge response\n",