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:
@@ -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