*** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1595 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -979,9 +979,11 @@ retrieve(char *cmd, char *name)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
byte_count = -1;
|
byte_count = -1;
|
||||||
if (cmd == 0 && (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode))) {
|
if (cmd == 0){
|
||||||
|
if(fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) {
|
||||||
reply(550, "%s: not a plain file.", name);
|
reply(550, "%s: not a plain file.", name);
|
||||||
goto done;
|
goto done;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (restart_point) {
|
if (restart_point) {
|
||||||
if (type == TYPE_A) {
|
if (type == TYPE_A) {
|
||||||
|
Reference in New Issue
Block a user