Revision: 1926
          
http://undernet-ircu.svn.sourceforge.net/undernet-ircu/?rev=1926&view=rev
Author:   entrope
Date:     2010-01-03 19:42:24 +0000 (Sun, 03 Jan 2010)

Log Message:
-----------
Fix the build for the new xquery files.

Modified Paths:
--------------
    ircu2/branches/u2_10_12_branch/ChangeLog
    ircu2/branches/u2_10_12_branch/ircd/Makefile.in
    ircu2/branches/u2_10_12_branch/ircd/m_xquery.c
    ircu2/branches/u2_10_12_branch/ircd/m_xreply.c

Modified: ircu2/branches/u2_10_12_branch/ChangeLog
===================================================================
--- ircu2/branches/u2_10_12_branch/ChangeLog    2010-01-02 20:33:10 UTC (rev 
1925)
+++ ircu2/branches/u2_10_12_branch/ChangeLog    2010-01-03 19:42:24 UTC (rev 
1926)
@@ -1,3 +1,15 @@
+2010-01-03  Michael Poole <[email protected]>
+
+       * ircd/Makefile.in (IRCD_SRC): Add m_xquery.c and m_xreply.c to
+       the build.
+
+       * ircd/m_xquery.c: Add missing include.
+       (mo_xquery): Fix spelling of struct Client.
+       (ms_xquery): Likewise.
+
+       * ircd/m_xreply.c: Add missing includes.
+       (ms_xreply): Fix spelling of struct Client and findNUser().
+
 2010-01-01  Kevin L. Mitchell  <[email protected]>
 
        * doc/readme.xquery: documentation for design and use of the

Modified: ircu2/branches/u2_10_12_branch/ircd/Makefile.in
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/Makefile.in     2010-01-02 20:33:10 UTC 
(rev 1925)
+++ ircu2/branches/u2_10_12_branch/ircd/Makefile.in     2010-01-03 19:42:24 UTC 
(rev 1926)
@@ -186,6 +186,8 @@
        m_who.c \
        m_whois.c \
        m_whowas.c \
+       m_xreply.c \
+       m_xquery.c \
        match.c \
        memdebug.c \
        motd.c \

Modified: ircu2/branches/u2_10_12_branch/ircd/m_xquery.c
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/m_xquery.c      2010-01-02 20:33:10 UTC 
(rev 1925)
+++ ircu2/branches/u2_10_12_branch/ircd/m_xquery.c      2010-01-03 19:42:24 UTC 
(rev 1926)
@@ -83,6 +83,7 @@
 #include "client.h"
 #include "ircd.h"
 #include "ircd_log.h"
+#include "ircd_reply.h"
 #include "ircd_string.h"
 #include "msg.h"
 #include "numeric.h"
@@ -101,7 +102,7 @@
  */
 int mo_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
-  struct client* acptr;
+  struct Client* acptr;
 
   if (parc < 4) /* have enough parameters? */
     return need_more_params(sptr, "XQUERY");
@@ -128,7 +129,7 @@
  */
 int ms_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
-  struct client* acptr;
+  struct Client* acptr;
 
   if (parc < 4) /* have enough parameters? */
     return need_more_params(sptr, "XQUERY");

Modified: ircu2/branches/u2_10_12_branch/ircd/m_xreply.c
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/m_xreply.c      2010-01-02 20:33:10 UTC 
(rev 1925)
+++ ircu2/branches/u2_10_12_branch/ircd/m_xreply.c      2010-01-03 19:42:24 UTC 
(rev 1926)
@@ -83,9 +83,11 @@
 #include "client.h"
 #include "ircd.h"
 #include "ircd_log.h"
+#include "ircd_reply.h"
 #include "ircd_string.h"
 #include "msg.h"
 #include "numeric.h"
+#include "numnicks.h"
 #include "s_auth.h"
 #include "send.h"
 
@@ -101,7 +103,7 @@
  */
 int ms_xreply(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
-  struct client* acptr;
+  struct Client* acptr;
   const char* routing;
   const char* reply;
 
@@ -112,7 +114,7 @@
   reply = parv[3];
 
   /* Look up the target */
-  if (!(acptr = FindNServer(parv[1])) && !(acptr = FindNUser(parv[1])))
+  if (!(acptr = FindNServer(parv[1])) && !(acptr = findNUser(parv[1])))
     return send_reply(sptr, SND_EXPLICIT | ERR_NOSUCHSERVER,
                      "* :Server has disconnected");
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to