- Removed trailing whitespaces
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Wed, 29 Apr 2015 11:25:48 +0000 (11:25 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Wed, 29 Apr 2015 11:25:48 +0000 (11:25 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5876 82007160-df01-0410-b94d-b575c5fd34c7

doc/reference.conf
src/config-lexer.l
src/firedns.c
src/irc.c
src/memory.c
src/opercmd.c
src/scan.c

index c85243a07e05f0dc74412ed14995fe3796a7fda1..23d43d7aa0f728e2793046b710e24f4a9758cebe 100644 (file)
@@ -241,7 +241,7 @@ irc {
 
        /*
         * Text to send on connection, these can be stacked and will be sent in this order.
-        * 
+        *
         * !!! UNREAL USERS PLEASE NOTE !!!
         * Unreal users will need PROTOCTL HCN to force hybrid connect
         * notices.
index 44a194e9fd09e947efbbb1177757552f5a2ff183..1d17e2db922ee1f969e7cdc1e185ab1cc62e294f 100644 (file)
@@ -85,7 +85,6 @@ whitespace             [ \t\r]*
                                  return STRING;
                               }
                            }
-             
                         }
 
 AWAY                    { return AWAY;         }
@@ -195,7 +194,7 @@ ROUTER                  {
 
 
 [0-9]+                  {
-                           yylval.number=atoi(yytext); 
+                           yylval.number=atoi(yytext);
                            return NUMBER;
                         }
 
@@ -242,7 +241,7 @@ OFF                      {
 
 {whitespace}            /* ignore whitespace */;
 
-.                       return yytext[0]; 
+.                       return yytext[0];
 
 %%
 
index 8b2c896b5a7d45a16584804e7b7168aef5d0ea42..6664c91a3d503206ce581868f2609e0e83563595 100644 (file)
@@ -1,20 +1,20 @@
 /*
 firedns.c - firedns library
 Copyright (C) 2002 Ian Gulliver
+
 This file has been gutted and mucked with for use in BOPM - see the
 real library at http://ares.penguinhosting.net/~ian/ before you judge
 firedns based on this..
+
 This program is free software; you can redistribute it and/or modify
 it under the terms of version 2 of the GNU General Public License as
 published by the Free Software Foundation.
+
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
+
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
index 26141a894cac8736d3f2cd6e0c13ebba5d8f9a9a..1628b63318bb9d7d94f6a372c851ec9512d62796 100644 (file)
--- a/src/irc.c
+++ b/src/irc.c
@@ -160,9 +160,9 @@ irc_cycle(void)
  *
  *    Resolve IRC host and perform other initialization.
  *
- * Parameters: 
+ * Parameters:
  *    None
- * 
+ *
  * Return:
  *    None
  */
@@ -244,7 +244,7 @@ irc_init(void)
  * Parameters:
  *    data: Format of data to send
  *    ...: varargs to format with
- * 
+ *
  * Return: NONE
  */
 void
index 3d6f73d05c6f97e20edadd8df2a1f437a3b3dc67..d095e86374081d84358d6d59a37a4fe2c0ece485 100644 (file)
 
 
 /* xcalloc
- *  
+ *
  *   A wrapper function for malloc(), for catching memory issues
  *   and error handling.
  *
  * Parameters
  *    bytes: amount in bytes to allocate
- *    
+ *
  * Return:
  *    Pointer to allocated memory
  */
@@ -53,7 +53,7 @@ void *xcalloc(size_t bytes)
  *
  *  Parameters:
  *     var: pointer to memory to free
- *     
+ *
  *  Return:
  *     None
  */
index e1fb1143daeaea2fe9c16ffff7229dcf4cbd509b..55ce88b917fba9e0dc09b4f6296c63e76fb5e030 100644 (file)
@@ -62,7 +62,7 @@ static const struct OperCommandHash COMMAND_TABLE[] =
 
 
 /* command_init
- * 
+ *
  *    Do command initialization
  *
  * Parameters: NONE
@@ -81,7 +81,7 @@ command_init(void)
  *    Perform ~1 second actions.
  *
  * Parameters: NONE
- * 
+ *
  * Return: NONE
  *
  */
@@ -189,9 +189,9 @@ command_parse(char *command, const struct ChannelConf *target,
 }
 
 /* command_create
- * 
+ *
  *    Create a Command struct.
- *  
+ *
  * Parameters:
  *    type: Index in COMMAND_TABLE
  *    param: Parameters to the command (NULL if there are not any)
@@ -220,12 +220,12 @@ command_create(const struct OperCommandHash *tab, char *param, char *irc_nick,
 }
 
 /* command_free
- * 
+ *
  *   Free a command struct
  *
  * Parameters:
  *   command: Command struct to free
- *   
+ *
  * Return: NONE
  */
 static void
@@ -243,12 +243,12 @@ command_free(struct Command *command)
  *    A 302 reply was received. The reply is parsed to check if the
  *    user was an operator. If so any commands they had queued are
  *    executed.
- *  
+ *
  * Parameters:
  *    reply: Reply to USERHOST    (ex: :grifferz*=+goats@pc-62-30-219-54-pb.blueyonder.co.uk)
  *
  * Return: NONE
- * 
+ *
  */
 void
 command_userhost(const char *reply)
index e672d2c021d5631c88988f95041686b5380807dc..5faf22274d201245277cd2fcd985c4db1d0da835 100644 (file)
@@ -99,7 +99,7 @@ scan_cycle(void)
 }
 
 /* scan_timer
- *   
+ *
  *    Perform actions that are to be performed every ~1 second.
  *
  * Parameters: NONE
@@ -166,7 +166,7 @@ scan_gettype(int protocol)
 
    Parameters:
       None
-   
+
    Return:
       None
 */
@@ -754,7 +754,7 @@ scan_negative(const struct scan_struct *ss)
 
 /* scan_irckline
  *
- *    ss has been found as a positive host and is to be klined. 
+ *    ss has been found as a positive host and is to be klined.
  *    Format a kline message using the kline message provided
  *    as a format, then pass it to irc_send() to be sent to the remote server.
  *
@@ -762,9 +762,8 @@ scan_negative(const struct scan_struct *ss)
  *    ss: scan_struct containing information regarding host to be klined
  *    format: kline message to format
  *    type: type of proxy found (%t format character)
- * 
- * Return: NONE
  *
+ * Return: NONE
  */
 static void
 scan_irckline(const struct scan_struct *ss, const char *format, const char *type)
@@ -968,15 +967,15 @@ scan_manual(char *param, const struct ChannelConf *target)
 }
 
 /* scan_checkexempt
- * 
+ *
  *    Check mask against exempt list.
- * 
+ *
  * Parameters:
  *     mask: Mask to check
- * 
+ *
  * Return:
  *     1 if mask is in list
- *     0 if mask is not in list 
+ *     0 if mask is not in list
  */
 int
 scan_checkexempt(const char *mask, const char *ipmask)