CLEANUP: Remove pyr #ifdefs
authorRemco Rijnders <remco@webconquest.com>
Tue, 8 Sep 2015 13:08:02 +0000 (15:08 +0200)
committerRemco Rijnders <remco@webconquest.com>
Tue, 8 Sep 2015 13:08:02 +0000 (15:08 +0200)
include/struct.h
src/send.c

index 4a68fbc315c058e32d1da4052e47f3381383c299..73a7a2f632bb6c2ab7933b73d42373d3ac6e2a44 100644 (file)
@@ -36,9 +36,6 @@
 #  include <sys/syslog.h>
 # endif
 #endif
-#ifdef pyr
-#include <sys/time.h>
-#endif
 
 typedef struct  SqlineItem aSqlineItem;
 typedef struct  JinxItem aJinxItem;
index 8e8af354f93118f6feacf49a783d614817174418..bda1065d7a77a8f9961a739896dfdc0cca698196 100644 (file)
@@ -195,10 +195,8 @@ int send_queued (to)
     char *msg;
     int len, rlen, more = 0;
 
-#ifndef pyr
     if (IsBlocked (to))
        return -1;                /* Can't write to already blocked socket */
-#endif /* pyr */
 
     /*
        ** Once socket is marked dead, we cannot start writing to it,