mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fixed the win32 function to use the correct proto, as pointed out by Gisle
Vanem
This commit is contained in:
parent
5e69ca0ebd
commit
7f0ec86769
@ -197,7 +197,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||||||
#else /* WIN32 */
|
#else /* WIN32 */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
char *getpass_r(const char *prompt, char *buffer, int buflen)
|
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
printf("%s", prompt);
|
printf("%s", prompt);
|
||||||
|
Loading…
Reference in New Issue
Block a user