]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/c/sf.c
some C sdk bug fixes + Mac OS X support
[tinyos-2.x.git] / support / sdk / c / sf.c
index b104c7d64b6227c4fe34762344416e4bc49b11eb..ada9bc5b4613ba2eec63f5742d452f1fe54c9f2b 100644 (file)
@@ -87,6 +87,7 @@ void rem_client(struct client_list **c)
 
 void new_client(int fd)
 {
+  fcntl(fd, F_SETFL, 0);
   if (init_sf_source(fd) < 0)
     close(fd);
   else