Incorrect use of gethostname' replaced by correct use of k_gethostname'.
				
					
				
			git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@699 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -23,7 +23,7 @@ klogin(char *name, char *password)
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
    struct hostent *hp;
 | 
					    struct hostent *hp;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    gethostname(hostname);
 | 
					    k_gethostname(hostname, sizeof(hostname));
 | 
				
			||||||
    phost = krb_get_phost(hostname);
 | 
					    phost = krb_get_phost(hostname);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    krb_get_lrealm(realm, 0);
 | 
					    krb_get_lrealm(realm, 0);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user