summaryrefslogtreecommitdiffstats
path: root/qacp.c
Commit message (Collapse)AuthorAgeFilesLines
* First crack at ipv6/ipv4 agnostic qarsh/qacp.Dean Jansa2010-09-281-4/+5
|
* [qacp] Fix improper free when connect failsNathan Straz2009-02-051-5/+5
| | | | | Freeing from the middle of an allocated string is not right. Keep a pointer to the strdup so we can free it correctly.
* [qacp] Check that we have two or more pathsNathan Straz2008-12-011-1/+1
|
* [qacp] Fix double-free when copying file to fileNathan Straz2008-10-141-1/+1
| | | | | A previous commit added tmprstatp, which wasn't being checked just after it was assigned.
* Fix the memory leak fix. The first attempt broke multiple file copy support. ↵Dean Jansa2008-10-101-4/+7
| | | | | | sendfiles should be re-written and broken into single file and multi-file cases to make this cleaner. Signed-off-by: Dean Jansa <djansa@redhat.com>
* Fix Copyright lines. vi sure doesn't like that copyright symbol in my termDean Jansa2008-09-231-1/+1
|
* Plug some memory leaksDean Jansa2008-09-231-7/+29
|
* Fix fallback buffer sizes. What was I thinking?Nate Straz2008-09-231-1/+1
|
* Update copyright dates.Nate Straz2008-09-231-1/+1
|
* Cast off_t variables to long long int when printing so we don't get theNate Straz2008-09-231-5/+5
| | | | | | | | ugly warnings. We should always be compiling with 64-bit off_t's so this should not be a problem. Change nread and nwrote back to ssize_t's since that is what read and write return. nleft remains an off_t because we initialize to stat.st_size.
* sendfile() can only send about 2GB, but you can keep calling it untilNate Straz2008-09-231-2/+4
| | | | everything is sent.
* Use off_t instead of size_t so we can transfer files larger than 2GB.Nate Straz2008-09-231-1/+1
| | | | | | I changed all formats from %zd to %lld, but this adds a lot of warnings because off_t isn't the same as long long int to the compiler. I don't know if there is a way to avoid the warnings on all platforms.
* Add fallback to read/write when sendfile doesn't work.Nate Straz2008-09-231-0/+31
|
* Add copyright notices and GPL headerNate Straz2008-09-231-0/+17
|
* Clean up printing of file xfers.Dean Jansa2008-09-231-13/+13
|
* Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh.Nate Straz2008-09-231-60/+271
|
* Flatten the qarsh tree.Nate Straz2008-09-231-0/+382