[pubcookie-dev] CVS update: willey; webiso/pubcookie/src keyclient.c,2.61,2.62

Stephen S. Willey willey at washington.edu
Mon Apr 10 12:57:39 PDT 2006



The old error generated by not changing:

"keymgt_uri: https://weblogin.example.edu:2222"

to something correct was "gethostbyname: Success", now it will say
"weblogin.example.edu: Unknown host".  Still kinda cryptic but a little
better.  

steve
 

> -----Original Message-----
> From: pubcookie-dev-bounces at mailman1.u.washington.edu 
> [mailto:pubcookie-dev-bounces at mailman1.u.washington.edu] On 
> Behalf Of willey at washington.edu
> Sent: 10 April, 2006 12:51
> To: pubcookie-dev at u.washington.edu
> Subject: [pubcookie-dev] CVS update: 
> willey;webiso/pubcookie/src keyclient.c,2.61,2.62
> 
> Update of /usr/local/cvsroot/webiso/pubcookie/src
>  In directory webiso-cvs.cac.washington.edu:/var/tmp/cvs-serv14642
>  
>  Modified Files:
>  	keyclient.c 
>  Log Message:
>  make keymgt_uri hostname errors provide more information
>  
> 
> 
> 
> Index: webiso/pubcookie/src/keyclient.c
> diff -c webiso/pubcookie/src/keyclient.c:2.61 
> webiso/pubcookie/src/keyclient.c:2.62
> *** webiso/pubcookie/src/keyclient.c:2.61	Wed Feb 22 16:46:33 2006
> --- webiso/pubcookie/src/keyclient.c	Mon Apr 10 12:51:23 2006
> ***************
> *** 18,24 ****
>   /** @file keyclient.c
>    * Key administration tool for clients
>    *
> !  * $Id: keyclient.c,v 2.61 2006/02/23 00:46:33 willey Exp $
>    */
>   
>   
> --- 18,24 ----
>   /** @file keyclient.c
>    * Key administration tool for clients
>    *
> !  * $Id: keyclient.c,v 2.62 2006/04/10 19:51:23 willey Exp $
>    */
>   
>   
> ***************
> *** 439,445 ****
>       sa.sin_family = AF_INET;
>       h = gethostbyname (keyhost);
>       if (!h) {
> !         perror ("gethostbyname");
>           exit (1);
>       }
>       memcpy (&sa.sin_addr, h->h_addr, h->h_length);
> --- 439,445 ----
>       sa.sin_family = AF_INET;
>       h = gethostbyname (keyhost);
>       if (!h) {
> !         herror (keyhost);
>           exit (1);
>       }
>       memcpy (&sa.sin_addr, h->h_addr, h->h_length);
> 
> 
> 
> end of message
> _______________________________________________
> pubcookie-dev mailing list
> pubcookie-dev at u.washington.edu
> http://mailman1.u.washington.edu/mailman/listinfo/pubcookie-dev
> 



More information about the pubcookie-dev mailing list