From f208aca899183d7ef9f35ed7a8929e9bb993ab3e Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Jan 2024 02:37:39 +0000 Subject: [PATCH] w3b git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@75 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/W3B/w3b.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Example/W3B/w3b.c b/Example/W3B/w3b.c index d42f454..621099c 100644 --- a/Example/W3B/w3b.c +++ b/Example/W3B/w3b.c @@ -43,6 +43,13 @@ int main(int argc, char** argv) { switch(tolower(c)){ case 'q': goto exitnow; + case 'o': + printf("URL: "); + fflush(stdout); + char* url = malloc(2049); + scanf("%s", url); + free(url); + break; case '\n': case '\r': break; -- 2.43.0