[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30086 - msh/src
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30086 - msh/src |
Date: |
Thu, 10 Oct 2013 14:31:02 +0200 |
Author: harsha
Date: 2013-10-10 14:31:02 +0200 (Thu, 10 Oct 2013)
New Revision: 30086
Modified:
msh/src/mshd-server.c
msh/src/mshd.c
Log:
- debug
Modified: msh/src/mshd-server.c
===================================================================
--- msh/src/mshd-server.c 2013-10-10 11:54:16 UTC (rev 30085)
+++ msh/src/mshd-server.c 2013-10-10 12:31:02 UTC (rev 30086)
@@ -348,6 +348,7 @@
{
if (NULL == client) /* Server shutting down */
return;
+ LOG_DEBUG ("A client has been connected locally\n");
GNUNET_SERVER_notification_context_add (local_serv_nc, client);
}
Modified: msh/src/mshd.c
===================================================================
--- msh/src/mshd.c 2013-10-10 11:54:16 UTC (rev 30085)
+++ msh/src/mshd.c 2013-10-10 12:31:02 UTC (rev 30086)
@@ -534,7 +534,6 @@
&do_shutdown, NULL);
pid = (intmax_t) getpid ();
GNUNET_assert (0 < asprintf (&unixpath, "%ju.sock", pid));
- setenv (MSHD_SOCK_NAME, unixpath, 1);
hostsfile = GNUNET_DISK_mktemp ("MSHD_HOSTS");
if (GNUNET_OK != addressmap_write_hosts (addrmap, hostsfile))
{
@@ -542,6 +541,7 @@
return;
}
setenv (MSHD_HOSTSFILE, hostsfile, 1);
+ setenv (MSHD_SOCK_NAME, unixpath, 1);
init_local_server (unixpath);
init_daemon_server ();
MSH_pmonitor_init ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30086 - msh/src,
gnunet <=