mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
remove never used volues
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2138 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 2591100c42
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-03-04 (Sun, 04 Mar 2012)
This commit is contained in:
@@ -356,7 +356,7 @@ std::string CUPnPDevice::HTTP(std::string url, std::string post, std::string act
|
||||
std::string portname;
|
||||
std::string hostname;
|
||||
std::string path;
|
||||
int port, t_socket, result, received;
|
||||
int port, t_socket, received;
|
||||
std::stringstream command, reply;
|
||||
std::string commandstr, line;
|
||||
struct sockaddr_in socktcp;
|
||||
@@ -431,7 +431,7 @@ std::string CUPnPDevice::HTTP(std::string url, std::string post, std::string act
|
||||
}
|
||||
|
||||
commandstr = command.str();
|
||||
result = send(t_socket, commandstr.c_str(), commandstr.size(), 0);
|
||||
send(t_socket, commandstr.c_str(), commandstr.size(), 0);
|
||||
while ((received = recv(t_socket, buf, sizeof(buf)-1, 0)) > 0)
|
||||
{
|
||||
buf[received] = 0;
|
||||
|
Reference in New Issue
Block a user