Changeset 8ab1f28
- Timestamp:
- Jul 16, 2010, 7:43:41 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 0552482
- Parents:
- 95414bf
- git-author:
- Nelson Elhage <nelhage@mit.edu> (07/15/10 23:23:23)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (07/16/10 19:43:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zephyr.c
r3687413 r8ab1f28 179 179 { 180 180 #ifdef HAVE_LIBZEPHYR 181 if(owl_global_is_havezephyr(&g)) 182 return(ZPending()); 181 Code_t code; 182 if(owl_global_is_havezephyr(&g)) { 183 if((code = ZPending()) < 0) { 184 owl_function_debugmsg("Error (%s) in ZPending()\n", 185 error_message(code)); 186 return 0; 187 } 188 return code; 189 } 183 190 #endif 184 191 return 0; … … 1388 1395 #ifdef HAVE_LIBZEPHYR 1389 1396 ZNotice_t notice; 1397 Code_t code; 1390 1398 owl_message *m=NULL; 1391 1399 1392 1400 while(owl_zephyr_zpending() && zpendcount < OWL_MAX_ZEPHYRGRAMS_TO_PROCESS) { 1393 1401 if (owl_zephyr_zpending()) { 1394 ZReceiveNotice(¬ice, NULL); 1402 if ((code = ZReceiveNotice(¬ice, NULL)) != ZERR_NONE) { 1403 owl_function_debugmsg("Error: %s while calling ZReceiveNotice\n", 1404 error_message(code)); 1405 continue; 1406 } 1395 1407 zpendcount++; 1396 1408
Note: See TracChangeset
for help on using the changeset viewer.