commit bf1aa947c4106c85bf178b0e73b6d25a0b41a394
parent 71d4fc55051a7083a0e21e4c1c91739aa34227c5
Author: sin <sin@2f30.org>
Date: Fri, 1 Apr 2016 09:34:56 +0100
fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stun.c b/stun.c
@@ -369,7 +369,7 @@ writedev(int fd, unsigned char *buf, int len)
int
readdev(int fd, unsigned char *buf, int len)
{
- return nread(fd, buf, len);
+ return read(fd, buf, len);
}
#elif defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
int