Navigation


Changeset 403:26aafbbc1640 in freeDiameter for extensions/app_acct


Ignore:
Timestamp:
Jul 8, 2010, 2:24:19 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Cleanup all compilation warnings in base code for 32 bit arch

Location:
extensions/app_acct
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_acct/acct_conf.y

    r284 r403  
    5959int yyparse(char * conffile);
    6060
     61/* The Lex parser prototype */
     62int acct_conflex(YYSTYPE *lvalp, YYLTYPE *llocp);
     63
    6164/* the global configuration */
    6265struct acct_conf * acct_config = NULL;
     
    8992        }
    9093
     94        if (!TRACE_BOOL(FULL))
     95                return 0;
     96       
    9197        struct fd_list * li;
    92         if (!TRACE_BOOL(FULL))
    93                 return;
    9498               
    9599        fd_log_debug("[app_acct] Configuration dump:\n");
     
    110114        }
    111115        fd_log_debug("[app_acct] Complete.\n");
     116        return 0;
    112117}
    113118
  • extensions/app_acct/acct_db.c

    r292 r403  
    6464        size_t sql_allocd = 0; /* The malloc'd size of the buffer */
    6565        size_t sql_offset = 0; /* The actual data already written in this buffer */
    66         size_t p;
    6766        int idx = 0;
    6867        PGresult * res;
  • extensions/app_acct/app_acct.c

    r286 r403  
    4848static int acct_cb( struct msg ** msg, struct avp * avp, struct session * sess, enum disp_action * act)
    4949{
    50         struct msg_hdr *hdr = NULL;
    5150        struct msg * m;
    5251        struct avp * a = NULL;
    5352        struct avp_hdr * art=NULL, *arn=NULL; /* We keep a pointer on the Accounting-Record-{Type, Number} AVPs from the query */
    54         char * s;
    5553        struct acct_record_list rl;
    5654       
Note: See TracChangeset for help on using the changeset viewer.