981eaaf Fix crash bug when reconfiguring service

1 file Authored by simo 8 years ago, Committed by rharwood 8 years ago,
    Fix crash bug when reconfiguring service
    
    If the socket is null the strcmp will segfault.
    Check for equality of pointers or nullity before entering the strcmp()
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Robbie Harwood <rharwood@redhat.com>
    
        
file modified
+6 -2