Displaying 1 result from an estimated 1 matches for "bcounter".
Did you mean:
counter
2002 Jul 13
0
[PATCH]: scp program improved
...(!rate_limit)
+ *(strstr(cmd, " -R")) = '\0';
(void) signal(SIGPIPE, lostconn);
@@ -482,14 +523,18 @@
char *argv[];
{
struct stat stb;
+ struct timeval wait, lastupdate, now;
static BUF buffer;
BUF *bp;
- off_t i, amt, result;
+ off_t i, amt, result, bcounter;
int fd, haderr, indx;
- char *last, *name, buf[2048];
+ char *last, *name, buf[2048], c;
int len;
+ /* For rate limit */
+ int buf_size, cur_mod;
+ long int sleep_time;
- for (indx = 0; indx < argc; ++indx) {
+ for (indx = 0; indx < argc; ++indx) {
name =...