Changeset ab31454 for aim.c


Ignore:
Timestamp:
Jun 25, 2003, 9:34:51 AM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ceb8cfb
Parents:
ae0a5fc
Message:
Wordwrap incoming AIM messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    rb2b0773 rab31454  
    11971197  int clienttype = AIM_CLIENTTYPE_UNKNOWN;
    11981198  owl_message *m;
    1199   char *stripmsg, *nz_screenname;
     1199  char *stripmsg, *nz_screenname, *wrapmsg;
    12001200  char realmsg[8192+1] = {""};
    12011201  clienttype = aim_fingerprintclient(args->features, args->featureslen);
     
    12731273  /* create a message, and put it on the message queue */
    12741274  stripmsg=owl_text_htmlstrip(realmsg);
     1275  wrapmsg=owl_text_wordwrap(stripmsg, 70);
    12751276  nz_screenname=owl_aim_normalize_screenname(userinfo->sn);
    12761277  m=owl_malloc(sizeof(owl_message));
     
    12781279                         nz_screenname,
    12791280                         owl_global_get_aim_screenname(&g),
    1280                          stripmsg,
     1281                         wrapmsg,
    12811282                         OWL_MESSAGE_DIRECTION_IN,
    12821283                         0);
    12831284  owl_global_messagequeue_addmsg(&g, m);
    12841285  owl_free(stripmsg);
     1286  owl_free(wrapmsg);
    12851287  owl_free(nz_screenname);
    12861288
Note: See TracChangeset for help on using the changeset viewer.