Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Commit

Permalink
Mover imprimir el video a una función
Browse files Browse the repository at this point in the history
El código se está haciendo grande e inmanejable, por lo que puse
imprimir el video en una función al pedo.

Un último commit bastante al pedo antes de que comience la
diversión.
  • Loading branch information
Lowercases committed Dec 10, 2011
1 parent 18611a4 commit 73ed77f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion xteban.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ print_das_versionen(void) {

}

signed char
print_uri_video(void) {
return printf("%s", URL_VIDEO);

}

int *t;

int
Expand All @@ -31,7 +37,7 @@ char *argv[];
strcmp(argv[1], "-V") == 0)
print_das_versionen();

r = printf("%s", URL_VIDEO);
r = print_uri_video();

if (r != strlen(URL_VIDEO))
return 1;
Expand Down

0 comments on commit 73ed77f

Please sign in to comment.