OpenAFS Master Repository branch, master, updated. 5cce838a2454927c3fea8ad6defadf1f2ce4833f

Gerrit Code Review gerrit@openafs.org
Thu, 23 Jul 2009 10:43:55 -0700 (PDT)


The following commit has been merged in the master branch:
commit 5cce838a2454927c3fea8ad6defadf1f2ce4833f
Author: Russ Allbery <rra@stanford.edu>
Date:   Tue Jul 21 11:04:41 2009 -0700

    Fix warnings in vlserver/vlprocs.c
    
    rxinfo's code to print out the principal corresponding to an rx_call uses
    static arrays for the principal components but was checking that the array
    pointer was non-NULL when deciding whether to print principal components.
    Instead check whether each portion of the principal is the empty string.
    
    Add explicit initializations of the static buffers to the empty string so
    that we're not relying on rxkad_GetServerInfo always initializing them for
    us.
    
    Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/163
    Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vlserver/vlprocs.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository