Changeset a15a84f
- Timestamp:
- Dec 29, 2002, 9:09:35 AM (22 years ago)
- 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
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r5c7b1b1 ra15a84f 15 15 'reply' is disabled for zcrypt until sending zcrypt works 16 16 Started implementing zcrypt command 17 More updates to the intro doc 17 18 18 19 1.2.6 -
message.c
rd309eb3 ra15a84f 360 360 void owl_message_create_from_znotice(owl_message *m, ZNotice_t *n) { 361 361 struct hostent *hent; 362 int k ;362 int k, ret; 363 363 char *ptr; 364 364 … … 406 406 407 407 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 } 411 415 } 412 416 -
owl.c
rb45293f ra15a84f 36 36 char *configfile, *tty, *perlout, **argvsave, buff[LINE], startupmsg[LINE]; 37 37 owl_filter *f; 38 time_t nexttime; 38 time_t nexttime, now; 39 struct tm *today; 39 40 40 41 argcsave=argc; … … 223 224 owl_context_set_interactive(owl_global_get_context(&g)); 224 225 225 nexttimediff= 20;226 nexttimediff=10; 226 227 nexttime=time(NULL); 227 228 … … 241 242 242 243 /* 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) { 244 247 if (time(NULL)>nexttime) { 245 248 if (nexttimediff==1) { 246 nexttimediff= 20;249 nexttimediff=10; 247 250 } else { 248 251 nexttimediff=1; -
util.c
rbe97670 ra15a84f 586 586 587 587 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 } 588 595 owl_global_set_needrefresh(&g); 589 596 return; … … 597 604 598 605 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 } 599 613 owl_global_set_needrefresh(&g); 600 614 return;
Note: See TracChangeset
for help on using the changeset viewer.