From 0e57e1f5abb9605fe119fce941de12792a82c2a8 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Tue, 24 Aug 2010 16:50:10 +0200 Subject: [PATCH] Removed the unused strrcmp from sendfile. --- src/sendfile.c | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.11.0