/pidgin/main: a2d2f84aef2c: This should make coverity and scan-b...

Gary Kramlich <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: a2d2f84aef2c3a2c23d7378e2b6f15623f31f199
Author:	 Gary Kramlich <[email protected]>
Date:	 2016-05-06 09:39 -0500
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/a2d2f84aef2c

Description:

This should make coverity and scan-build happier

diffstat:

 libpurple/tls-certificate-info.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/tls-certificate-info.c b/libpurple/tls-certificate-info.c
--- a/libpurple/tls-certificate-info.c
+++ b/libpurple/tls-certificate-info.c
@@ -382,7 +382,7 @@ der_parse_time(DerNodeData *node)
 	g_return_val_if_fail(node != NULL, NULL);
 	g_return_val_if_fail(node->content != NULL, NULL);
 
-	memset(time_parts, 0, sizeof(gint) * sizeof(time_parts));
+	memset(time_parts, 0, sizeof(time_parts));
 
 	time = der_parse_string(node);
 

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.