changeset 13083:1b81ab9c8441

[gaim-migrate @ 15445] stupid type committer: Tailor Script <tailor@pidgin.im>
author Thomas Butter <tbutter>
date Tue, 31 Jan 2006 20:21:49 +0000
parents f6ed8290f1cf
children 31a3a9af1494
files src/protocols/simple/simple.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/simple/simple.c	Tue Jan 31 20:09:54 2006 +0000
+++ b/src/protocols/simple/simple.c	Tue Jan 31 20:21:49 2006 +0000
@@ -1092,7 +1092,7 @@
 			dummy[msg->bodylen]='\0';
 			msg->body = dummy;
 			cur+=msg->bodylen;
-			memmove(conn->inbuf, cur, conn->inbufused-(cur-conn->inbuf));
+			memmove(conn->inbuf, cur, conn->inbuflen-(cur-conn->inbuf));
 			conn->inbufused=strlen(conn->inbuf);
 		} else {
 			sipmsg_free(msg);