Changeset a15a84f


Ignore:
Timestamp:
Dec 29, 2002, 9:09:35 AM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3969e3a
Parents:
5c7b1b1
Message:
Some updates to the intro doc
The halloweek hack
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5c7b1b1 ra15a84f  
    1515        'reply' is disabled for zcrypt until sending zcrypt works
    1616        Started implementing zcrypt command
     17        More updates to the intro doc
    1718       
    18191.2.6
  • message.c

    rd309eb3 ra15a84f  
    360360void owl_message_create_from_znotice(owl_message *m, ZNotice_t *n) {
    361361  struct hostent *hent;
    362   int k;
     362  int k, ret;
    363363  char *ptr;
    364364
     
    406406
    407407    out=owl_malloc(strlen(m->body)*16+20);
    408     zcrypt_decrypt(out, m->body, m->class, m->inst);
    409     owl_free(m->body);
    410     m->body=out;
     408    ret=zcrypt_decrypt(out, m->body, m->class, m->inst);
     409    if (ret==0) {
     410      owl_free(m->body);
     411      m->body=out;
     412    } else {
     413      owl_free(out);
     414    }
    411415  }
    412416
  • owl.c

    rb45293f ra15a84f  
    3636  char *configfile, *tty, *perlout, **argvsave, buff[LINE], startupmsg[LINE];
    3737  owl_filter *f;
    38   time_t nexttime;
     38  time_t nexttime, now;
     39  struct tm *today;
    3940
    4041  argcsave=argc;
     
    223224  owl_context_set_interactive(owl_global_get_context(&g));
    224225
    225   nexttimediff=20;
     226  nexttimediff=10;
    226227  nexttime=time(NULL);
    227228
     
    241242
    242243    /* little hack */
    243     if (0 && owl_global_get_runtime(&g)<300) {
     244    now=time(NULL);
     245    today=localtime(&now);
     246    if (today->tm_mon==9 && today->tm_mday==31 && owl_global_get_runtime(&g)<600) {
    244247      if (time(NULL)>nexttime) {
    245248        if (nexttimediff==1) {
    246           nexttimediff=20;
     249          nexttimediff=10;
    247250        } else {
    248251          nexttimediff=1;
  • util.c

    rbe97670 ra15a84f  
    586586
    587587    owl_mainwin_redisplay(owl_global_get_mainwin(&g));
     588    if (owl_popwin_is_active(owl_global_get_popwin(&g))) {
     589      owl_popwin_refresh(owl_global_get_popwin(&g));
     590      /* TODO: this is a broken kludge */
     591      if (owl_global_get_viewwin(&g)) {
     592        owl_viewwin_redisplay(owl_global_get_viewwin(&g), 0);
     593      }
     594    }
    588595    owl_global_set_needrefresh(&g);
    589596    return;
     
    597604
    598605    owl_mainwin_redisplay(owl_global_get_mainwin(&g));
     606    if (owl_popwin_is_active(owl_global_get_popwin(&g))) {
     607      owl_popwin_refresh(owl_global_get_popwin(&g));
     608      /* TODO: this is a broken kludge */
     609      if (owl_global_get_viewwin(&g)) {
     610        owl_viewwin_redisplay(owl_global_get_viewwin(&g), 0);
     611      }
     612    }
    599613    owl_global_set_needrefresh(&g);
    600614    return;
Note: See TracChangeset for help on using the changeset viewer.