mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 14:26:11 +00:00
Update version output
This commit is contained in:
parent
8d4fb1f7ad
commit
6bbeae3876
@ -76,7 +76,8 @@ static long parse_numeric_option(const char* value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void print_version() {
|
static void print_version() {
|
||||||
printf("Youtube unblocker v0.0.1\n"); //TODO
|
printf("youtubeUnblock\n");
|
||||||
|
printf("Bypasses youtube detection systems that relies on SNI\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void print_usage(const char *argv0) {
|
static void print_usage(const char *argv0) {
|
||||||
@ -773,8 +774,9 @@ void *init_queue_wrapper(void *qdconf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
if (parse_args(argc, argv)) {
|
int ret;
|
||||||
if (errno) {
|
if ((ret = parse_args(argc, argv)) != 0) {
|
||||||
|
if (ret < 0) {
|
||||||
perror("Unable to parse args");
|
perror("Unable to parse args");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user