mirror of
https://github.com/akuker/RASCSI.git
synced 2025-02-16 19:31:09 +00:00
fd needs to be initialized in order to compile (#150)
Co-authored-by: akuker <akuker@gmail.com>
This commit is contained in:
parent
863feed611
commit
55ec2291ef
@ -29,7 +29,7 @@ using namespace rascsi_interface;
|
||||
//---------------------------------------------------------------------------
|
||||
int SendCommand(const string& hostname, const PbCommand& command)
|
||||
{
|
||||
int fd;
|
||||
int fd = -1;
|
||||
|
||||
try {
|
||||
struct hostent *host = gethostbyname(hostname.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user