From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 4 Dec 2007 20:26:52 -0000 Subject: [Cluster-devel] cluster/cman/qdisk main.c Message-ID: <20071204202652.28567.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/main.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4.2.7&r2=1.4.2.8 --- cluster/cman/qdisk/main.c 2007/12/04 20:24:43 1.4.2.7 +++ cluster/cman/qdisk/main.c 2007/12/04 20:26:51 1.4.2.8 @@ -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);