Changed the static file_struct var to match the changes in rsync.h.
[rsync/rsync.git] / token.c
diff --git a/token.c b/token.c
index edb5642..1ccacbe 100644 (file)
--- a/token.c
+++ b/token.c
@@ -15,9 +15,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include "rsync.h"
@@ -49,8 +49,8 @@ void set_compression(char *fname)
                                continue;
                        }
                        do {
-                               if (isupper(*(unsigned char *)f))
-                                       *t++ = tolower(*(unsigned char *)f);
+                               if (isUpper(f))
+                                       *t++ = toLower(f);
                                else
                                        *t++ = *f;
                        } while (*++f != ' ' && *f);