From 8ec76c0921175e45602d490cfa696eab781ac87a Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Wed, 29 Jul 2009 14:53:39 +0000 Subject: Factor out code that extacts a sockaddr_in from a notice (and stop using the deprecated sender_addr macro.) Actually remove the code from realm.c:real_dispatch because nothing was using the result. Ran nuke-trailing-whitespace on all the files I touched, as usual. --- server/zserver.h | 1 + 1 file changed, 1 insertion(+) (limited to 'server/zserver.h') diff --git a/server/zserver.h b/server/zserver.h index 2b5a908..3f195f6 100644 --- a/server/zserver.h +++ b/server/zserver.h @@ -274,6 +274,7 @@ Code_t client_send_clients(void); char *strsave(const char *str); unsigned long hash (const char *); void dump_quote(char *p, FILE *fp); +void notice_extract_address(ZNotice_t *notice, struct sockaddr_in *addr); /* found in dispatch.c */ void handle_packet(void); -- cgit v1.2.3