Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sendfile: Allow file forcing and X-Ash-File-less operation.
[ashd.git]
/
lib
/
req.c
diff --git
a/lib/req.c
b/lib/req.c
index
7bb37b4
..
64944bf
100644
(file)
--- a/
lib/req.c
+++ b/
lib/req.c
@@
-200,7
+200,7
@@
void headrmheader(struct hthead *head, const char *name)
free(head->headers[i][0]);
free(head->headers[i][1]);
free(head->headers[i]);
free(head->headers[i][0]);
free(head->headers[i][1]);
free(head->headers[i]);
- memmove(head->headers + i, head->headers + i + 1,
--head->noheaders - i
);
+ memmove(head->headers + i, head->headers + i + 1,
sizeof(head->headers) * (--head->noheaders - i)
);
return;
}
}
return;
}
}