/pidgin/main: f0861dc04cf3: ACTUALLY use size of destination buf...

Mark Doliner <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: f0861dc04cf3e37a79a9433e216e6400eab47fb8
Author:	 Mark Doliner <[email protected]>
Date:	 2014-03-01 17:00 -0800
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/f0861dc04cf3

Description:

ACTUALLY use size of destination buffer.

Whoops :-P

diffstat:

 pidgin/win32/untar.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/win32/untar.c b/pidgin/win32/untar.c
--- a/pidgin/win32/untar.c
+++ b/pidgin/win32/untar.c
@@ -401,7 +401,7 @@ static int untar_block(Uchar_t *blk) {
 		else
 		{
 			g_strlcpy(name, (tblk)->filename,
-				sizeof (tblk)->filename);
+				sizeof (name));
 		}
 
 		/* Convert any backslashes to forward slashes, and guard
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.