- Timestamp:
- Jul 2, 2003, 6:15:24 PM (21 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:
- 373b7e7
- Parents:
- 7c9c847
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
rcf83b7a r09489b89 15 15 #include <stdlib.h> 16 16 #include <string.h> 17 #include <zephyr/zephyr.h>18 17 #include <com_err.h> 19 18 #include <signal.h> … … 41 40 struct tm *today; 42 41 char *dir; 42 #ifdef HAVE_LIBZEPHYR 43 43 ZNotice_t notice; 44 #endif 44 45 45 46 argcsave=argc; … … 133 134 if (debug) owl_global_set_debug_on(&g); 134 135 owl_global_set_startupargs(&g, argcsave, argvsave); 135 136 #ifdef HAVE_LIBZEPHYR 137 owl_global_set_havezephyr(&g); 138 #endif 139 owl_global_set_haveaim(&g); 140 136 141 /* create the owl directory, in case it does not exist */ 137 142 dir=owl_sprintf("%s/%s", owl_global_get_homedir(&g), OWL_CONFIG_DIR); … … 340 345 zpendcount=0; 341 346 while(owl_zephyr_zpending() || owl_global_messagequeue_pending(&g)) { 347 #ifdef HAVE_LIBZEPHYR 342 348 struct sockaddr_in from; 349 #endif 343 350 owl_message *m; 344 351 owl_filter *f; 345 352 346 353 /* grab the new message, stick it in 'm' */ 347 354 if (owl_zephyr_zpending()) { 355 #ifdef HAVE_LIBZEPHYR 348 356 /* grab a zephyr notice, but if we've done 20 without stopping, 349 357 take a break to process keystrokes etc. */ … … 366 374 m=owl_malloc(sizeof(owl_message)); 367 375 owl_message_create_from_znotice(m, ¬ice); 376 #endif 368 377 } else if (owl_global_messagequeue_pending(&g)) { 369 378 m=owl_global_messageuque_popmsg(&g);
Note: See TracChangeset
for help on using the changeset viewer.