X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop_server.c;h=5d11e484a312c7832b5ce93d21cb6fb00c6f3084;hp=528c63465eb242d2ac54c51b1950881b11b192d9;hb=5246e11671ef0cceef2086f1c9d75c35198683e2;hpb=e7f9c4ef1dd8eb2a19fe98091db7d06834643ea9 diff --git a/nlsop_server.c b/nlsop_server.c index 528c634..5d11e48 100644 --- a/nlsop_server.c +++ b/nlsop_server.c @@ -122,10 +122,9 @@ int save_job(t_net *net,int channel,t_job *job,unsigned char dc) { if(ret==N_ERROR) printf("FATAL: getting step number failed\n"); if(dc!=DC_QUIT) { - snprintf(filename,128,"nlsop_b%f_c%f_s%f_ds%d_dr%f_Z%c__%d_of_%d.save", + snprintf(filename,128,"./data/nlsop_b%f_c%f_s%f_ds%d_dr%f_-_%d_of_%d.save", job->info.b,job->info.c,job->info.s, job->info.diff_rate,job->info.dr_ac, - job->info.z_diff?'y':'n', job->step,job->info.steps); if((fd=open(filename,O_WRONLY|O_CREAT))<0) { printf("FATAL: unable to open file %s\n",filename);