Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04883ca
)
Removed the unused strrcmp from sendfile.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 24 Aug 2010 14:50:10 +0000
(16:50 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 24 Aug 2010 14:50:10 +0000
(16:50 +0200)
src/sendfile.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sendfile.c
b/src/sendfile.c
index
48787fd
..
ce422e2
100644
(file)
--- 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