Sending events with specified owner on other side only for notifications.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sat, 18 Feb 2012 15:38:11 +0000 (15:38 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sat, 18 Feb 2012 15:38:11 +0000 (15:38 +0000)
org.glite.lb.logger/src/send_event.c

index 67a3b60..8b34cf5 100644 (file)
@@ -209,8 +209,11 @@ event_queue_connect(struct event_queue *eq, struct queue_thread *me)
     glite_common_log(IL_LOG_CATEGORY, LOG_PRIORITY_DEBUG, 
                     "    trying to connect to %s:%d", 
                     eq->dest_name, eq->dest_port);
-    /* ret = edg_wll_gss_connect(local_cred_handle->creds, eq->dest_name, eq->dest_port, &tv, &me->gss, &gss_stat); */
+#if defined(IL_NOTIFICATIONS)
     ret = edg_wll_gss_connect_name(local_cred_handle->creds, eq->dest_name, eq->dest_port, eq->owner, /* mech */NULL, &tv, &me->gss, &gss_stat);
+#else
+    ret = edg_wll_gss_connect(local_cred_handle->creds, eq->dest_name, eq->dest_port, &tv, &me->gss, &gss_stat);
+#endif
     if(pthread_mutex_lock(&cred_handle_lock) < 0)
            abort();
     /* check if we need to release the credentials */