- Timestamp:
- Sep 14, 2010, 2:11:44 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- ba042db
- Parents:
- f544216
- git-author:
- David Benjamin <davidben@mit.edu> (08/21/10 23:23:08)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/14/10 02:11:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zwrite.c
r7bfc613 r0743696 254 254 int owl_zwrite_send_message(const owl_zwrite *z) 255 255 { 256 int i, j ;256 int i, j, ret = 0; 257 257 char *to = NULL; 258 258 … … 267 267 to = owl_strdup( owl_list_get_element(&(z->recips), i)); 268 268 } 269 send_zephyr(z->opcode, z->zsig, z->class, z->inst, to, z->message); 269 ret = send_zephyr(z->opcode, z->zsig, z->class, z->inst, to, z->message); 270 /* Abort on the first error, to match the zwrite binary. */ 271 if (ret != 0) 272 break; 270 273 owl_free(to); 271 274 to = NULL; … … 273 276 } else { 274 277 to = owl_sprintf( "@%s", z->realm); 275 send_zephyr(z->opcode, z->zsig, z->class, z->inst, to, z->message);278 ret = send_zephyr(z->opcode, z->zsig, z->class, z->inst, to, z->message); 276 279 } 277 280 owl_free(to); 278 return (0);281 return ret; 279 282 } 280 283
Note: See TracChangeset
for help on using the changeset viewer.