From: nishi Date: Fri, 26 Jan 2024 02:37:39 +0000 (+0000) Subject: w3b X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f208aca899183d7ef9f35ed7a8929e9bb993ab3e;p=libw3.git w3b git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@75 d27a3e52-49c5-7645-884c-6793ebffc270 --- 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;