From: Fredrik Tolf Date: Tue, 24 Aug 2010 14:50:10 +0000 (+0200) Subject: Removed the unused strrcmp from sendfile. X-Git-Tag: 0.1~90 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=0e57e1f5abb9605fe119fce941de12792a82c2a8 Removed the unused strrcmp from sendfile. --- diff --git a/src/sendfile.c b/src/sendfile.c index 48787fd..ce422e2 100644 --- a/src/sendfile.c +++ b/src/sendfile.c @@ -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