Changeset 27 for branches/1.0/src
- Timestamp:
- Apr 20, 2010, 11:23:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/src/splpd.c
r26 r27 568 568 // decryptPassword(password_enc,password_dec); 569 569 570 j_parms = malloc((strlen(parameters) - strlen("%file%") + strlen(filename)) * sizeof(char)); 571 572 searchReplace("%file%", filename, parameters, j_parms); 573 574 chdir(workingdir); 570 j_parms = malloc((strlen(parameters) - strlen("%file%") + strlen(filename)) * sizeof(char)); 571 572 searchReplace("%file%", filename, parameters, j_parms); 573 574 if (strlen(workingdir) > 0) 575 { 576 chdir(workingdir); 577 }; 575 578 rc = spawnlp(P_WAIT,binfile,binfile,j_parms,NULL); 576 579 577 580 while (rc != 0) 578 581 { 579 sprintf(errorstr,"Error during spooling %s to %s %s",queue_name,binfile,j_parms);582 sprintf(errorstr,"Error during spooling to %s %s",binfile,j_parms); 580 583 resp = WinMessageBox (HWND_DESKTOP, 581 584 HWND_DESKTOP, … … 590 593 }; 591 594 592 595 free(j_parms); 593 596 strcpy(filename,&szTemp[pos]); 594 597 DosDelete(filename);
Note:
See TracChangeset
for help on using the changeset viewer.