Removed progname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@456 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -241,12 +241,6 @@ static void conn_wait(int port)
|
||||
close(t);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef HAVE___PROGNAME
|
||||
char *__progname = "ftpd";
|
||||
#endif
|
||||
|
||||
int
|
||||
main(int argc, char **argv, char **envp)
|
||||
{
|
||||
@@ -1461,11 +1455,7 @@ pwd(void)
|
||||
/* SunOS has a broken getcwd that does popen(pwd) (!!!), this
|
||||
* failes miserably when running chroot
|
||||
*/
|
||||
#if defined(HAVE_GETCWD) && !defined(BROKEN_GETCWD)
|
||||
ret = getcwd(path, sizeof(path));
|
||||
#else
|
||||
ret = getwd(path);
|
||||
#endif
|
||||
if (ret == NULL)
|
||||
reply(550, "%s.", strerror(errno));
|
||||
else
|
||||
|
Reference in New Issue
Block a user