s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -215,7 +215,7 @@ main(int argc, char **argv)
|
||||
int ret = 1;
|
||||
int optind = 0;
|
||||
|
||||
set_progname(argv[0]);
|
||||
setprogname(argv[0]);
|
||||
|
||||
if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
|
||||
&optind))
|
||||
|
@@ -254,10 +254,10 @@ pop_init(POP *p,int argcount,char **argmessage)
|
||||
/* Initialize the POP parameter block */
|
||||
memset (p, 0, sizeof(POP));
|
||||
|
||||
set_progname(argmessage[0]);
|
||||
setprogname(argmessage[0]);
|
||||
|
||||
/* Save my name in a global variable */
|
||||
p->myname = (char*)__progname;
|
||||
p->myname = (char*)getprogname();
|
||||
|
||||
/* Get the name of our host */
|
||||
gethostname(p->myhost,MaxHostNameLen);
|
||||
|
Reference in New Issue
Block a user