|
Lines 551-557
process_get(struct sftp_conn *conn, char
Link Here
|
| 551 |
goto out; |
551 |
goto out; |
| 552 |
} |
552 |
} |
| 553 |
|
553 |
|
| 554 |
for (i = 0; g.gl_pathv[i] && !interrupted; i++) { |
554 |
for (i = 0; g.gl_pathv[i] && !interrupted && err != -1; i++) { |
| 555 |
if (infer_path(g.gl_pathv[i], &tmp)) { |
555 |
if (infer_path(g.gl_pathv[i], &tmp)) { |
| 556 |
err = -1; |
556 |
err = -1; |
| 557 |
goto out; |
557 |
goto out; |
|
Lines 619-625
process_put(struct sftp_conn *conn, char
Link Here
|
| 619 |
goto out; |
619 |
goto out; |
| 620 |
} |
620 |
} |
| 621 |
|
621 |
|
| 622 |
for (i = 0; g.gl_pathv[i] && !interrupted; i++) { |
622 |
for (i = 0; g.gl_pathv[i] && !interrupted && err != -1; i++) { |
| 623 |
if (!is_reg(g.gl_pathv[i])) { |
623 |
if (!is_reg(g.gl_pathv[i])) { |
| 624 |
error("skipping non-regular file %s", |
624 |
error("skipping non-regular file %s", |
| 625 |
g.gl_pathv[i]); |
625 |
g.gl_pathv[i]); |