X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0f78b81511be65d8fe21af1e6ac674f9e80ac29d..60af946576ba43a94d7adea0ff3b5ef5e9e28e09:/token.c diff --git a/token.c b/token.c index edb5642d..1ccacbe2 100644 --- 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);