random fixes to make it build with socks

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5028 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-06-13 00:06:56 +00:00
parent a5f54865d4
commit e9fea047b0
15 changed files with 526 additions and 508 deletions

View File

@@ -1100,7 +1100,7 @@ yylex(void)
#ifdef HAVE_SETPROCTITLE
if (strncasecmp(cbuf, "PASS", 4) != NULL)
setproctitle("%s: %s", proctitle, cbuf);
#endif
#endif /* HAVE_SETPROCTITLE */
if ((cp = strchr(cbuf, '\r'))) {
*cp++ = '\n';
*cp = '\0';
@@ -1385,7 +1385,8 @@ sizecmd(char *filename)
reply(550, "%s: not a plain file.", filename);
else
reply(213, "%lu", (unsigned long)stbuf.st_size);
break; }
break;
}
case TYPE_A: {
FILE *fin;
int c;
@@ -1411,7 +1412,8 @@ sizecmd(char *filename)
fclose(fin);
reply(213, "%lu", (unsigned long)count);
break; }
break;
}
default:
reply(504, "SIZE not implemented for Type %c.", "?AEIL"[type]);
}