]> code.citadel.org Git - citadel.git/blobdiff - citadel/netproc.c
* lots of warning fixes; builds with -std1 on dec unix
[citadel.git] / citadel / netproc.c
index 83dd9c72c5c5895c850c636d536916d1687b3c43..2f13200fb272d7b109ae48734ee063b37b2fc1dd 100644 (file)
@@ -73,7 +73,7 @@ struct syslist {
        char s_name[16];
        char s_type[4];
        char s_nexthop[128];
-       long s_lastcontact;
+       time_t s_lastcontact;
        char s_humannode[64];
        char s_phonenum[32];
        char s_gdom[64];
@@ -243,7 +243,7 @@ void setup_special_nodes(void) {
 void rewrite_syslist(void) {
        struct syslist *stemp;
        FILE *newfp;
-       long now;
+       time_t now;
 
        time(&now);
        newfp=fopen("network/mail.sysinfo","w");
@@ -612,7 +612,7 @@ void bounce(struct minfo *bminfo)
        FILE *bounce;
        char bfilename[64];
        static int bseq = 1;
-       long now;
+       time_t now;
 
        sprintf(bfilename,"./network/spoolin/bounce.%d.%d",getpid(),bseq++);
        bounce = fopen(bfilename,"wb");