summaryrefslogtreecommitdiffstats
path: root/qarshd.c
Commit message (Collapse)AuthorAgeFilesLines
* First crack at ipv6/ipv4 agnostic qarsh/qacp.Dean Jansa2010-09-281-6/+13
|
* Set child_pid to 0 after child returnsNathan Straz2010-06-031-0/+1
| | | | This is mostly for clarity while debugging qarshd.
* Handle growing files better in qacpNathan Straz2009-09-141-3/+19
| | | | | | Cache the results from the rstat packet and use that file size during the following sendfile so we don't send more than qacp is expecting. This should allow us to qacp root@host:/var/log/messages
* Fix up copyright dates.Nate Straz2008-09-231-1/+1
|
* Don't print out the debug syslog messages unless you also use the -d option.Nate Straz2008-09-231-3/+8
| | | | For those that can't configure syslog properly while debugging other things.
* Nate made a good point, we should not fail if we can't chdir. ssh warns, ↵Dean Jansa2008-09-231-5/+1
| | | | but lets you in. Don't bother checking the return of chdir().
* chdir() to users home dirDean Jansa2008-09-231-0/+8
|
* Cast off_t variables to long long int when printing so we don't get theNate Straz2008-09-231-5/+7
| | | | | | | | 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.
* Use off_t instead of size_t so we can transfer files larger than 2GB.Nate Straz2008-09-231-9/+10
| | | | | | 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 copyright notices and GPL headerNate Straz2008-09-231-1/+19
|
* Quiet down the logging a bit.Nate Straz2008-09-231-1/+1
|
* Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh.Nate Straz2008-09-231-6/+56
|
* Flatten the qarsh tree.Nate Straz2008-09-231-0/+315