diff --git a/src/server/slave.c b/src/server/slave.c --- a/src/server/slave.c +++ b/src/server/slave.c @@ -115,11 +115,13 @@ int main(int argc, char *argv[]) struct distrenjob *myjob; /* Structure to hold data gathered from the XML file */ - struct remoteio *comm_slave; /* Structures for remotio */ - struct remoteio_opts *comm_slaveoptions; + struct remoteio_opts *comm_slaveopts = {"ssh"}; + + struct execio *remoteExec; + struct remoteio *comm_slave = {0, comm_slaveopts, remoteExec}; /* Structures for remotio */ fprintf(stderr,"Connecting to server...\n"); - remoteio_open(&comm_slave, comm_slaveoptions, "protofusion" ); + remoteio_open(&comm_slave, comm_slaveopts, "protofusion" ); int haveWork = 0;