mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 07:20:01 +02:00
solved merge conflict in changes to use ZmqSocket.h externally
This commit is contained in:
commit
2c276db579
@ -10,6 +10,7 @@
|
||||
#include "ansi.h"
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <zmq.h>
|
||||
#include <errno.h>
|
||||
#include <netdb.h> //gethostbyname()
|
||||
@ -225,7 +226,7 @@ public:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
cerr << "Error: Could not convert hostname to internet address" << endl;
|
||||
cprintf(RED, "Error: Could not convert hostname to internet address\n");
|
||||
return 1;
|
||||
};
|
||||
|
||||
@ -243,7 +244,7 @@ public:
|
||||
freeaddrinfo(res);
|
||||
return 0;
|
||||
}
|
||||
cerr << "Error: Could not convert internet address to ip string" << endl;
|
||||
cprintf(RED, "Error: Could not convert internet address to ip string\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user