Created
March 19, 2010 00:43
-
-
Save schacon/337101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void init_http_user_name() | |
{ | |
error("1"); | |
struct strbuf name = STRBUF_INIT; | |
error("2"); | |
fprintf(stdout, "Username: "); | |
error("3"); | |
fflush(stdout); | |
error("4"); | |
strbuf_getline(&name, stdin, '\n'); | |
error("5"); | |
user_pass = strbuf_detach(&name, NULL); | |
error("6"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment