Changeset 342 for trunk/src/sh_prelude.c


Ignore:
Timestamp:
May 11, 2011, 11:04:08 PM (14 years ago)
Author:
katerina
Message:

Fix for ticket #251:Compile error if option --with-prelude is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_prelude.c

    r290 r342  
    11411141}
    11421142
    1143 
     1143#if defined(SH_WITH_SERVER)
    11441144static int node_set_address(idmef_node_t *node, const char *addr)
    11451145{
     
    11681168        return -1;
    11691169}
    1170 
     1170#endif
    11711171                                         
    11721172
    11731173static int samhain_alert_prelude(int priority, int sh_class,
    1174                                  char *message, unsigned long msgid, char * inet_peer_ip)
     1174                                 char *message, unsigned long msgid,
     1175                                 char * inet_peer_ip)
    11751176{
    11761177        int ret;
     
    11871188#if defined(SH_WITH_SERVER)
    11881189        idmef_node_t *node;
     1190#else
     1191        (void) inet_peer_ip;
    11891192#endif
    11901193               
Note: See TracChangeset for help on using the changeset viewer.