Mercurial > pidgin
changeset 1533:b6fe5cab70d6
[gaim-migrate @ 1543]
whoops. i'm a moron.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 04 Mar 2001 04:32:30 +0000 |
parents | 249a770bebd7 |
children | d98b92e3d9ff |
files | src/toc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/toc.c Sun Mar 04 03:18:45 2001 +0000 +++ b/src/toc.c Sun Mar 04 04:32:30 2001 +0000 @@ -254,7 +254,7 @@ do { count += ret; ret = read(tdt->toc_fd, - buffer + sizeof(struct sflap_hdr) + count, ntohs(hdr->len)); + buffer + sizeof(struct sflap_hdr) + count, ntohs(hdr->len) - count); } while (count + ret < ntohs(hdr->len) && ret > 0); buffer[sizeof(struct sflap_hdr) + count + ret] = '\0'; return ret;