No release numbers
------------------
+ - Sun Sep 9 03:01:28 PDT 2001
+ - Three fixes in directim for gaim. It works now. Yay.
+
- Sat Sep 8 21:26:27 PDT 2001
- Minor bug directim_connect
memcpy(cookie->cookie, ck, 8);
cookie->type = AIM_COOKIETYPE_OFTIM;
+ /* this one is for the cookie */
priv = (struct aim_directim_intdata *)calloc(1, sizeof(struct aim_directim_intdata));
memcpy(priv->cookie, ck, 8);
- memcpy(priv->sn, destsn, sizeof(priv->sn));
+ strncpy(priv->sn, destsn, sizeof(priv->sn));
cookie->data = priv;
aim_cachecookie(sess, cookie);
priv = (struct aim_directim_intdata *)calloc(1, sizeof(struct aim_directim_intdata));
memcpy(priv->cookie, ck, 8);
- memcpy(priv->sn, destsn, sizeof(priv->sn));
+ strncpy(priv->sn, destsn, sizeof(priv->sn));
newconn->fd = listenfd;
newconn->subtype = AIM_CONN_SUBTYPE_OFT_DIRECTIM;
return NULL;
}
- if (!newconn || (newconn->fd == -1)) {
+ if (!newconn) {
free(intdata);
return newconn;
}