]> git.dolda2000.com Git - ashd.git/commitdiff
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 48787fdd635195838162abf9f23fb4413d20fbbf..ce422e25cb5e046910da797cd143081650181faa 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