- Timestamp:
- Jun 21, 2003, 1:54:20 PM (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:
- 0c502e9
- Parents:
- 5639bf2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
rc3ab155 rbe0a79f 41 41 struct tm *today; 42 42 char *dir; 43 ZNotice_t notice; 43 44 44 45 argcsave=argc; … … 89 90 } 90 91 92 #ifdef HAVE_LIBZEPHYR 91 93 /* zephyr init */ 92 if ((ret = ZInitialize()) != ZERR_NONE) {93 com_err("owl",ret,"while initializing");94 ret=owl_zephyr_initialize(); 95 if (ret) { 94 96 exit(1); 95 97 } 96 if ((ret = ZOpenPort(NULL)) != ZERR_NONE) { 97 com_err("owl",ret,"while opening port"); 98 exit(1); 99 } 100 98 #endif 99 101 100 /* signal handler */ 102 101 sigact.sa_handler=sig_handler; … … 336 335 newmsgs=0; 337 336 zpendcount=0; 338 while(ZPending() || owl_global_messagequeue_pending(&g)) { 339 ZNotice_t notice; 337 while(owl_zephyr_zpending() || owl_global_messagequeue_pending(&g)) { 340 338 struct sockaddr_in from; 341 339 owl_message *m; … … 343 341 344 342 /* grab the new message, stick it in 'm' */ 345 if ( ZPending()) {343 if (owl_zephyr_zpending()) { 346 344 /* grab a zephyr notice, but if we've done 20 without stopping, 347 345 take a break to process keystrokes etc. */
Note: See TracChangeset
for help on using the changeset viewer.