Skip to content
Snippets Groups Projects
Commit 070895c7 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed typo in error-message.

Rev: src/fd_control.c:1.8
parent 27c41b40
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ void set_nonblocking(int fd,int which) ...@@ -47,7 +47,7 @@ void set_nonblocking(int fd,int which)
#ifdef USE_FCNTL_FNDELAY #ifdef USE_FCNTL_FNDELAY
fcntl(fd, F_SETFL, which?FNDELAY:0); fcntl(fd, F_SETFL, which?FNDELAY:0);
#else #else
#error Don not know how to set your filedescriptors nonblocking. #error Do not know how to set your filedescriptors nonblocking.
#endif #endif
#endif #endif
#endif #endif
...@@ -77,7 +77,7 @@ int query_nonblocking(int fd) ...@@ -77,7 +77,7 @@ int query_nonblocking(int fd)
#ifdef USE_FCNTL_FNDELAY #ifdef USE_FCNTL_FNDELAY
return fcntl(fd, F_GETFL, 0) & FNDELAY; return fcntl(fd, F_GETFL, 0) & FNDELAY;
#else #else
#error Don not know how to set your filedescriptors nonblocking. #error Do not know how to set your filedescriptors nonblocking.
#endif #endif
#endif #endif
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment