diff --git a/src/server/slavefuncs.c b/src/server/slavefuncs.c --- a/src/server/slavefuncs.c +++ b/src/server/slavefuncs.c @@ -75,7 +75,7 @@ int software_updatecheck(char *datadir){ char *pathtolocalVersion; _distren_asprintf(&pathtolocalVersion, "%s/envines/blender/version.info",datadir); - curlget("http://protofusion.org/srv/version.info", pathtoserverVersion); + curlget("http://protofusion.org/distren/srv/version.info", pathtoserverVersion); struct stat buffer; char serverVersion[5]; // Version numbers are nice and short char localVersion[5]; // Version numbers are nice and short @@ -138,13 +138,13 @@ size_t curl_writetodisk(void *ptr, size_ /** Helper function for cURL's progress display */ int curl_progress( char *Bar,double t,double d,double ultotal,double ulnow) { -fprintf(stderr,"Downloading... %f%% complete\r",d/t*100); +fprintf(stderr,"Downloading: %f%% complete\r",d/t*100); return 0; } /** Retrieves a URL with cURL and saves it to disk */ int curlget(char *url, char *out){ - + fprintf(stderr,"Preparing to download %s",url); double *Bar; // Stores cURL progress display info CURL *curl; CURLcode res; @@ -262,7 +262,7 @@ int register_user(char *username, char * { /* Note: this code moved here from after the useradd code, so useradd doesn't happen if there is an existing key, etc */ - + fprintf(stderr,"Preparing to download setup key...\n"); curlget("http://protofusion.org/distren/keys/setup_rsa", SYSCONFDIR "/setup_rsa"); // Grabs key to use for setup login /* puts the person's username in the conf */