Loading lib/getpass.c +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ # define perror(x) fprintf(stderr, "Error in: %s\n", x) #endif char *getpass_r(const char *prompt, char *buffer, int buflen) char *getpass_r(const char *prompt, char *buffer, size_t buflen) { FILE *infp; FILE *outfp; Loading lib/getpass.h +1 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,6 @@ /* * Returning NULL will abort the continued operation! */ char* getpass_r(char *prompt, char* buffer, int buflen ); char* getpass_r(char *prompt, char* buffer, size_t buflen ); #endif Loading
lib/getpass.c +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ # define perror(x) fprintf(stderr, "Error in: %s\n", x) #endif char *getpass_r(const char *prompt, char *buffer, int buflen) char *getpass_r(const char *prompt, char *buffer, size_t buflen) { FILE *infp; FILE *outfp; Loading
lib/getpass.h +1 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,6 @@ /* * Returning NULL will abort the continued operation! */ char* getpass_r(char *prompt, char* buffer, int buflen ); char* getpass_r(char *prompt, char* buffer, size_t buflen ); #endif