Changeset 8daf504
- Timestamp:
- Jun 2, 2009, 12:48:48 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- bc8275e
- Parents:
- fd8dfe7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r7433402 r8daf504 3065 3065 { 3066 3066 int i, j, x, idle; 3067 int interrupted = 0; 3067 3068 owl_fmtext fm; 3068 3069 owl_buddylist *bl; … … 3113 3114 user=owl_list_get_element(&anyone, i); 3114 3115 ret=ZLocateUser(user, &numlocs, ZAUTH); 3116 3117 owl_function_mask_sigint(NULL); 3118 if(owl_global_is_interrupted(&g)) { 3119 interrupted = 1; 3120 owl_global_unset_interrupted(&g); 3121 owl_function_unmask_sigint(NULL); 3122 owl_function_makemsg("Interrupted!"); 3123 break; 3124 } 3125 3115 3126 if (ret!=ZERR_NONE) { 3127 owl_function_unmask_sigint(NULL); 3116 3128 owl_function_error("Error getting location for %s", user); 3117 3129 continue; … … 3137 3149 } 3138 3150 owl_list_free_all(&anyone, owl_free); 3139 } 3151 } 3140 3152 } 3141 3153 #endif … … 3150 3162 } 3151 3163 } 3152 3153 owl_function_popless_fmtext(&fm); 3164 3165 if(!interrupted) { 3166 owl_function_popless_fmtext(&fm); 3167 } 3154 3168 owl_fmtext_free(&fm); 3155 3169 }
Note: See TracChangeset
for help on using the changeset viewer.