Browse code

lib/kcore: reset time value for faked msg

- reported by Uri Shacked

Daniel-Constantin Mierla authored on 21/11/2012 16:22:31
Showing 1 changed files
... ...
@@ -71,6 +71,7 @@ struct sip_msg* faked_msg_next(void)
71 71
 {
72 72
 	_faked_msg.id = 1 + _faked_msg_no++;
73 73
 	_faked_msg.pid = my_pid();
74
+	memset(&_faked_msg.tval, 0, sizeof(struct timeval));
74 75
 	clear_branches();
75 76
 	return &_faked_msg;
76 77
 }