cluster/cman/qdisk main.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-12-04 20:26:52
Modified files:
cman/qdisk : main.c
Log message:
Remove extraneous hunk
cman/qdisk/main.c +0 -36
@@ -506,42 +506,6 @@return -1 ; } -#if 0 -if (ctx->qc_status_sockname) { - ctx->qc_status_sock =socket (PF_LOCAL ,SOCK_STREAM ,0 ); - -if (ctx->qc_status_sockname <0 ) { -clulog (LOG_ERR , -"Could not create local socket %s: %s\n" , - qc->qc_status_sockname,strerror (errno)); -free (qc->qc_status_sockname); - qc->qc_status_sockname =NULL ; - }else { - sun.sun_family =PF_LOCAL ; -snprintf (sun.sun_path,sizeof (sun.sun_path), - qc->qc_status_sockname); -unlink (qc->qc_status_sockname); -if (bind (ctx->qc_status_sock, - (struct sockaddr *)&sun,sizeof (sun)) <0 ) { -clulog (LOG_ERR ,"Could not bind to local " -"socket %s: %s\n" , - qc->qc_status_sockname, -strerror (errno)); -free (qc->qc_status_sockname); - qc->qc_status_sockname =NULL ; -close (qc->qc_status_sock); - qc->qc_status_sock =-1 ; - } - } - }else { - qc->qc_status_sock =-1 ; - } - -if (qc->qc_status_sock >=0 ) { -listen (qc->qc_status_sock,5 ); - } -#endif -while (++x <= ctx->qc_tko && _running) {read_node_blocks (ctx, ni, max);check_transitions (ctx, ni, max,NULL );