const fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6672 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -491,7 +491,7 @@ proto (int s, int errsock,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
construct_command (char **res, int argc, const char **argv)
|
construct_command (char **res, int argc, char **argv)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
size_t len = 0;
|
size_t len = 0;
|
||||||
@@ -575,7 +575,7 @@ doit_broken (int argc,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (connect(priv_socket1, addr, socket_sockaddr_size(addr)) < 0) {
|
if (connect(priv_socket1, addr, socket_sockaddr_size(addr)) < 0) {
|
||||||
const char **h;
|
char **h;
|
||||||
|
|
||||||
if (hostent->h_addr_list[1] == NULL)
|
if (hostent->h_addr_list[1] == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
@@ -650,7 +650,7 @@ doit (const char *hostname,
|
|||||||
{
|
{
|
||||||
struct hostent *hostent = NULL;
|
struct hostent *hostent = NULL;
|
||||||
int error;
|
int error;
|
||||||
const char **h;
|
char **h;
|
||||||
int af;
|
int af;
|
||||||
|
|
||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
|
Reference in New Issue
Block a user