Skip to content
Snippets Groups Projects
Commit 94886120 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use setproctitle correctly

parent b4d5d891
Branches
Tags
No related merge requests found
......@@ -213,7 +213,7 @@ main( int argc, char **argv )
}
#ifdef LDAP_PROCTITLE
setproctitle( hp == NULL ? inet_ntoa( from.sin_addr ) :
setproctitle( "%s", hp == NULL ? inet_ntoa( from.sin_addr ) :
hp->h_name );
#endif
}
......
......@@ -236,7 +236,7 @@ main (int argc, char **argv )
}
#ifdef LDAP_PROCTITLE
setproctitle( hp == NULL ? inet_ntoa( from.sin_addr ) :
setproctitle( "%s", hp == NULL ? inet_ntoa( from.sin_addr ) :
hp->h_name );
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment