Removed the unused strrcmp from sendfile.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 24 Aug 2010 14:50:10 +0000 (16:50 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 24 Aug 2010 14:50:10 +0000 (16:50 +0200)
src/sendfile.c

index 48787fd..ce422e2 100644 (file)
@@ -65,11 +65,6 @@ static void passdata(int in, int out)
     free(buf);
 }
 
-static int strrcmp(char *str, char *end)
-{
-    return(strcmp(str + strlen(str) - strlen(end), end));
-}
-
 static char *attrmimetype(char *file)
 {
 #ifdef HAVE_XATTR