[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] Main GNUnet code base. branch master updated. init
From: |
gitolite |
Subject: |
[GNUnet-SVN] [gnunet] Main GNUnet code base. branch master updated. initial-import-from-subversion-38251-9-ge697fe7 |
Date: |
Thu, 17 Nov 2016 23:12:33 +0100 (CET) |
The branch, master has been updated
via e697fe7d7bda59cf23186d73d0522b984cd758b4 (commit)
from ce9687f34f0e82698f4bb66c01980d8bd6d7be06 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e697fe7d7bda59cf23186d73d0522b984cd758b4
Author: David Barksdale <address@hidden>
Date: Wed Nov 16 15:21:31 2016 +0900
Check return value of GNUNET_NETWORK_socket_create
-----------------------------------------------------------------------
Summary of changes:
src/util/client_new.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/util/client_new.c b/src/util/client_new.c
index 593d3a2..337d067 100644
--- a/src/util/client_new.c
+++ b/src/util/client_new.c
@@ -495,11 +495,12 @@ try_unixpath (const char *service_name,
sock = GNUNET_NETWORK_socket_create (AF_UNIX,
SOCK_STREAM,
0);
- if ( (GNUNET_OK ==
- GNUNET_NETWORK_socket_connect (sock,
- (struct sockaddr *) &s_un,
- sizeof (s_un))) ||
- (EINPROGRESS == errno) )
+ if ( (NULL != sock) &&
+ ( (GNUNET_OK ==
+ GNUNET_NETWORK_socket_connect (sock,
+ (struct sockaddr *) &s_un,
+ sizeof (s_un))) ||
+ (EINPROGRESS == errno) ) )
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Successfully connected to unixpath `%s'!\n",
hooks/post-receive
--
Main GNUnet code base.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] Main GNUnet code base. branch master updated. initial-import-from-subversion-38251-9-ge697fe7,
gitolite <=