|
@@ -68,14 +68,12 @@ bool parse_command(struct videohub_data *data, char *cmd) {
|
68
|
68
|
}
|
69
|
69
|
|
70
|
70
|
if (!v) {
|
71
|
|
- if (!quiet) {
|
72
|
|
- fprintf(stderr, "WARNING: Videohub sent unknown command!\n");
|
73
|
|
- fprintf(stderr, " Please report this command to author's email: georgi@unixsol.org\n");
|
74
|
|
- fprintf(stderr, " You may use -q or --quiet to suppress the message.\n");
|
75
|
|
- fprintf(stderr, "---------8<-----------8<----------- cut here ---------8<------------8<---------\n");
|
76
|
|
- fprintf(stderr, "%s\n", cmd);
|
77
|
|
- fprintf(stderr, "---------8<-----------8<----------- cut here ---------8<------------8<---------\n");
|
78
|
|
- }
|
|
71
|
+ q("WARNING: Videohub sent unknown command!\n");
|
|
72
|
+ q(" Please report this command to author's email: georgi@unixsol.org\n");
|
|
73
|
+ q(" You may use -q or --quiet to suppress the message.\n");
|
|
74
|
+ q("---------8<-----------8<----------- cut here ---------8<------------8<---------\n");
|
|
75
|
+ q("%s\n", cmd);
|
|
76
|
+ q("---------8<-----------8<----------- cut here ---------8<------------8<---------\n");
|
79
|
77
|
return false;
|
80
|
78
|
}
|
81
|
79
|
|