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:
5226f7c
)
sendfile: Fixed typo.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 5 Oct 2010 14:32:05 +0000
(16:32 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 5 Oct 2010 14:32:05 +0000
(16:32 +0200)
src/sendfile.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sendfile.c
b/src/sendfile.c
index
f148196
..
e6f6786
100644
(file)
--- a/
src/sendfile.c
+++ b/
src/sendfile.c
@@
-92,7
+92,7
@@
static char *attrmimetype(char *file)
return(NULL);
found:
for(i = 0; i < sz; i++) {
- if((buf[
sz] < 32) || (buf[sz
] >= 128))
+ if((buf[
i] < 32) || (buf[i
] >= 128))
return(NULL);
}
buf[sz] = 0;