# HG changeset patch # User Binki # Date 2009-05-24 22:44:16 # Node ID d13d6894ca72faddfc2fff73137210dd2679832d # Parent e736dd843da36e86248fc43014ad41d601a27a69 removed obsolete build-failure causing code from distren.c This code will be moved into libdistren soon diff --git a/src/client/distren.c b/src/client/distren.c --- a/src/client/distren.c +++ b/src/client/distren.c @@ -26,15 +26,11 @@ */ -#include "execio.h" - #include #include /* sprintf, printf */ #include /* malloc, free */ #include /* getopt */ -#include /* Happy fun XML time */ -#include #include #include // for strcat @@ -50,8 +46,6 @@ int main(int argc, char *argv[]) distren_t distren; distren_job_t distren_job; - - input = NULL; output = NULL; @@ -141,6 +135,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "execio madness is occuring!"); fprintf(stderr, "execio_open returns %d\n", execio_open(&testrem, "ssh", execargv)); buf[9] = '\0'; + /* while(!execio_read(testrem, buf, 9, &readlen)) { if(readlen > 9 ) @@ -152,6 +147,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "read \"%s\"\n", buf); } execio_close(testrem); + */ // Can we prune off some of this code up here^? I'm not exactly sure how execio returns output, but it seems like more could be happening in execio itself, and less happening where it is actually called. // We need some code to ssh, and if the SSH fails, tell the user to register. // Killed the user reg code, as the php interface will take care of this. Although it should check for users...