- Timestamp:
- Oct 30, 2006, 1:51:58 AM (18 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- f72f573
- Parents:
- f8b42ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r39c036d r2fa15f0 72 72 int newmsgs, zpendcount, nexttimediff; 73 73 struct sigaction sigact; 74 char *configfile, *tty, *perlout, *perlerr, **argvsave, buff[LINE], startupmsg[LINE] , *perl_mainloop_hook;74 char *configfile, *tty, *perlout, *perlerr, **argvsave, buff[LINE], startupmsg[LINE]; 75 75 owl_filter *f; 76 76 owl_style *s; … … 92 92 debug=0; 93 93 initialsubs=1; 94 perl_mainloop_hook = NULL;95 94 if (argc>0) { 96 95 argv++; … … 448 447 449 448 /* Hook perl into the loop */ 450 perl_mainloop_hook = owl_global_get_perl_mainloop_hook(&g); 451 if (perl_mainloop_hook) { 452 if (owl_perlconfig_is_function(perl_mainloop_hook)) { 453 owl_function_debugmsg("startup: executing perl mainloop hook"); 454 perlout = owl_perlconfig_execute(perl_mainloop_hook); 455 if (perlout) owl_free(perlout); 456 } 449 450 if (owl_perlconfig_is_function("owl::mainloop_hook")) { 451 perlout = owl_perlconfig_execute("owl::mainloop_hook"); 452 if (perlout) owl_free(perlout); 457 453 } 458 454
Note: See TracChangeset
for help on using the changeset viewer.