unlink("vlp.cfg");
vlp_file = new QFile("vlp.cfg");
vlp_file->open(IO_WriteOnly);
- sprintf(line,"progdir=%s\n",progs->text());
+ sprintf(line,"progdir=%s\n",progs->text().ascii());
vlp_file->writeBlock(line,strlen(line));
strcpy(progdir,progs->text());
sprintf(line,"node_number=%d\n",atoi(nn->text()));
vlp_file->writeBlock(line,strlen(line));
for(i=0;i<connections->count();i++)
{
- sprintf(line,"host=%s\n",connections->text(i));
+ sprintf(line,"host=%s\n",connections->text(i).ascii());
vlp_file->writeBlock(line,strlen(line));
}