Fix stack overflow

This commit is contained in:
Joseph C. Lehner 2016-02-18 19:30:31 +01:00
parent 9371642c96
commit 283742f117

5
tftp.c
View file

@ -216,11 +216,6 @@ void sock_perror(const char *msg)
{
win_perror2(msg, WSAGetLastError());
}
#else
inline void sock_perror(const char *msg)
{
perror(msg);
}
#endif
inline bool tftp_is_valid_filename(const char *filename)