Build problems + patch

Michael Smith <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <20031215224643.GG2600@theThirdPoliceman>
Markus,

I ran into some build errors while trying to build refdbd from my
sandbox. A patch is included below.

Also, the current build doesn't seem to make refdbd.h from refdbd.h.in.

  --Mike

--- refdbd.ORIG.c	2003-12-13 15:01:28.247848700 +0900
+++ refdbd.c	2003-12-13 16:57:38.867988900 +0900
@@ -660,7 +660,7 @@
 		    LOG_PRINT(LOG_WARNING, "incomplete message - confserv aborted");
 		  }
 		  else {
-		    confserv(fifo_buffer, clrequest.server_ip);
+		    confserv(fifo_buffer, ptr_clrequest->server_ip);
 		  }
 		}
 		else {
@@ -668,7 +668,7 @@
 		}
 	      }
 	      else {
-		confserv(fifo_buffer, clrequest.server_ip);
+		confserv(fifo_buffer, ptr_clrequest->server_ip);
 	      }
 	      close(fd_fifo);
 	      unlink(the_fifo);
@@ -685,7 +685,7 @@
 		  LOG_PRINT(LOG_WARNING, "incomplete message - confserv aborted");
 		}
 		else {
-		  confserv(fifo_buffer, clrequest.server_ip);
+		  confserv(fifo_buffer, ptr_clrequest->server_ip);
 		}
 	      }
 	      else {
@@ -693,7 +693,7 @@
 	      }
 	    }
 	    else {
-	      confserv(fifo_buffer, clrequest.server_ip);
+	      confserv(fifo_buffer, ptr_clrequest->server_ip);
 	    }
 	    close(fd_fifo);
 	    unlink(the_fifo);
signature.asc (application/pgp-signature, 155 B)
-----BEGIN PGP SIGNATURE-----

iD8DBQE/3jnTsGCNMsnBsxkRAl3MAJ4wG0+4HhzqEDMzZ6JnMt1Jldgy5ACggTXD
T1m1gV7Xgt44fztuM1SXuS0=
=eNE8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.