Correct not initialized value of amf_comp in

amf_comp_find_from_conn_info () 


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1322 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Lon Hohberger 2006-12-11 06:06:21 +00:00
parent 8f87e5f413
commit 931abd5380

View File

@ -827,7 +827,7 @@ struct amf_comp *amf_comp_find_from_conn_info (void *conn)
struct amf_application *app;
struct amf_sg *sg;
struct amf_su *su;
struct amf_comp *comp;
struct amf_comp *comp = NULL;
for (app = amf_cluster->application_head; app != NULL; app = app->next) {
for (sg = app->sg_head; sg != NULL; sg = sg->next) {