Changeset 908:ed611e15f744 in freeDiameter for libfdcore
- Timestamp:
- Jan 20, 2013, 12:35:48 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libfdcore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/core.c
r871 r908 36 36 #include "fdcore-internal.h" 37 37 38 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 38 39 #include <gcrypt.h> 40 #pragma GCC diagnostic warning "-Wdeprecated-declarations" 39 41 40 42 /* The static configuration structure */ -
libfdcore/peers.c
r837 r908 543 543 /* Send the new connection event to the PSM */ 544 544 CHECK_MALLOC_DO( ev_data = malloc(sizeof(struct cnx_incoming)), { ret = ENOMEM; goto out; } ); 545 memset(ev_data, 0, sizeof( ev_data));545 memset(ev_data, 0, sizeof(*ev_data)); 546 546 547 547 ev_data->cer = msg;
Note: See TracChangeset
for help on using the changeset viewer.