update it
This commit is contained in:
parent
1ca937ae4b
commit
9782363f2b
|
@ -13,10 +13,7 @@ int fd_context_init(int mode)
|
||||||
memset(&self, 0, sizeof(struct fd_context_t));
|
memset(&self, 0, sizeof(struct fd_context_t));
|
||||||
|
|
||||||
self.mode = mode;
|
self.mode = mode;
|
||||||
|
self.duration = 10; /* 10 seconds */
|
||||||
/* Set the default values */
|
|
||||||
self.vendor_id = 10415; /* 3GPP Vendor ID */
|
|
||||||
self.duration = 10; /* 10 seconds */
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,6 @@ struct fd_context_t {
|
||||||
#define FD_MODE_SERVER 0x1
|
#define FD_MODE_SERVER 0x1
|
||||||
#define FD_MODE_CLIENT 0x2
|
#define FD_MODE_CLIENT 0x2
|
||||||
int mode; /* default FD_MODE_SERVER | FD_MODE_CLIENT */
|
int mode; /* default FD_MODE_SERVER | FD_MODE_CLIENT */
|
||||||
c_uint32_t vendor_id; /* default 10415 */
|
|
||||||
|
|
||||||
int duration; /* default 10 */
|
int duration; /* default 10 */
|
||||||
struct fd_stats {
|
struct fd_stats {
|
||||||
|
|
|
@ -18,6 +18,7 @@ user@host ~/Documents/git/nextepc$ \
|
||||||
user@host ~/Documents/git/nextepc$ \
|
user@host ~/Documents/git/nextepc$ \
|
||||||
sudo valgrind --leak-check=full --show-reachable=yes --error-limit=no \
|
sudo valgrind --leak-check=full --show-reachable=yes --error-limit=no \
|
||||||
--gen-suppressions=all --log-file=support/valgrind/test.log \
|
--gen-suppressions=all --log-file=support/valgrind/test.log \
|
||||||
|
--suppressions=support/valgrind/mongoc.suppressions \
|
||||||
./epcd
|
./epcd
|
||||||
|
|
||||||
user@host ~/Documents/git/nextepc/support/valgrind$ \
|
user@host ~/Documents/git/nextepc/support/valgrind$ \
|
||||||
|
|
Loading…
Reference in New Issue