CVSROOT:        /cvs/cluster
Module name:    cluster
Branch:         RHEL5
Changes by:     [EMAIL PROTECTED]       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);

Reply via email to