summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-01-03 05:12:10 +0000
committerHerb Lewis <herb@samba.org>1998-01-03 05:12:10 +0000
commit153a95a33852a1e7b4c9ff1f6e67798cfa493073 (patch)
tree1d5efe58925701781b244ee4712f4a95a4aa0714 /source3
parentb0e6cf38224950cfa84df1f2bfc758c0cc120018 (diff)
downloadsamba-153a95a33852a1e7b4c9ff1f6e67798cfa493073.tar.gz
samba-153a95a33852a1e7b4c9ff1f6e67798cfa493073.tar.bz2
samba-153a95a33852a1e7b4c9ff1f6e67798cfa493073.zip
added printout of file list to stderr so you know what files you need to
copy to your printer$ share (This used to be commit bdfa5c709986051e78198c68c5a90358fdfa780e)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/make_printerdef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/make_printerdef.c b/source3/utils/make_printerdef.c
index 6f605c41f8..ef890163f0 100644
--- a/source3/utils/make_printerdef.c
+++ b/source3/utils/make_printerdef.c
@@ -190,6 +190,7 @@ void scan_copyfiles(FILE *fichier, char *chaine)
#ifdef DEBUGIT
fprintf(stderr,"In scan_copyfiles Lookup up of %s\n",chaine);
#endif
+ fprintf(stderr,"\nCopy the following files to your printer$ share location:\n");
part=strtok(chaine,",");
do {
/* If the entry start with a @ then it's a file to copy
@@ -201,6 +202,7 @@ void scan_copyfiles(FILE *fichier, char *chaine)
if (strlen(files_to_copy) != 0)
strcat(files_to_copy,",");
strcat(files_to_copy,&part[1]);
+ fprintf(stderr,"%s\n",&part[1]);
} else {
lookup_entry(fichier,part);
i=0;
@@ -219,12 +221,14 @@ void scan_copyfiles(FILE *fichier, char *chaine)
strcat(files_to_copy,",");
strcat(files_to_copy,direc);
strcat(files_to_copy,buffer[i]);
+ fprintf(stderr,"%s%s\n",direc,buffer[i]);
i++;
}
}
part=strtok(NULL,",");
}
while (part!=NULL);
+ fprintf(stderr,"\n");
}