Files
asterisk/tests
David M. Lee d3939686cd test_voicemail_api: fix warning found by gcc-4.8
The voicemail_api test had code like strncmp(a, b, sizeof(a)), but a was a
char pointer, instead of a literal or char array. This meant that sizeof was
the size of the pointer, not the length of the string.

Since the string is in a stringfield and should be null terminated, I just
changed it to a plain strcmp.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-07-11 04:34:49 +00:00
..
2012-10-14 21:56:13 +00:00
2013-07-11 02:02:48 +00:00
2012-07-30 13:45:42 +00:00
2012-09-22 20:43:30 +00:00
2013-07-03 17:58:45 +00:00