[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Rob Savoye |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1490-g829c210 |
Date: |
Mon, 30 Apr 2012 04:30:25 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 829c21078ca77bb981a1bc2ccdf9c7609721b2b8 (commit)
from a0a4969115fff484076c26c3fb1a078f26dda6e4 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=829c21078ca77bb981a1bc2ccdf9c7609721b2b8
commit 829c21078ca77bb981a1bc2ccdf9c7609721b2b8
Author: Rob Savoye <address@hidden>
Date: Sun Apr 29 22:30:13 2012 -0600
remove unused code
diff --git a/cygnal/libnet/network.cpp b/cygnal/libnet/network.cpp
index 81c9804..aecb341 100644
--- a/cygnal/libnet/network.cpp
+++ b/cygnal/libnet/network.cpp
@@ -572,19 +572,6 @@ Network::createClient(const string &hostname, short port)
_port = port;
log_debug(_("%s: to host %s at port %d"), __FUNCTION__, hostname, port);
-#if 0
- // If a hostname isn't supplied, get the localhost name.
- char thishostname[MAXHOSTNAMELEN];
- memset(&thishostname, 0, MAXHOSTNAMELEN);
- if (hostname.size() == 0) {
- if (gethostname(thishostname, MAXHOSTNAMELEN) == 0) {
- log_debug(_("The hostname for this machine is %s"), thishostname);
- } else {
- log_debug(_("Couldn't get the hostname for this machine"));
- return false;
- }
- }
-
int code = 0;
struct addrinfo req, *ans;
std::memset(&req, 0, sizeof(struct addrinfo));
-----------------------------------------------------------------------
Summary of changes:
cygnal/libnet/network.cpp | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1490-g829c210,
Rob Savoye <=