Commit fee5532d authored by Jordan Sissel's avatar Jordan Sissel

remove hostname fetch in main

parent 992c166b
......@@ -28,7 +28,6 @@ static struct option options[] = {
{ NULL, 0, NULL, 0 }
};
static char hostname[200];
#define ZMQ_EMITTER_ENDPOINT "inproc://emitter"
int main(int argc, char **argv) {
......@@ -42,8 +41,6 @@ int main(int argc, char **argv) {
insist(argc > 0, "No arguments given. What log files do you want shipped?");
gethostname(hostname, sizeof(hostname));
pthread_t *harvesters = calloc(argc, sizeof(pthread_t));
/* no I/O threads needed since we use inproc:// only */
void *zmq = zmq_init(0 /* IO threads */);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment