Changeset 488913a
- Timestamp:
- Mar 6, 2011, 2:12:16 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- c73a22d
- Parents:
- e3a75ed
- git-author:
- Karl Ramm <kcr@1ts.org> (02/11/11 19:05:01)
- git-committer:
- Karl Ramm <kcr@1ts.org> (03/06/11 14:12:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zephyr.c
re3a75ed r488913a 31 31 void owl_zephyr_initialize(void) 32 32 { 33 int ret;33 Code_t ret; 34 34 struct servent *sp; 35 35 struct sockaddr_in sin; 36 36 ZNotice_t req; 37 Code_t code;38 37 39 38 /* … … 69 68 req.z_message_len = 0; 70 69 71 if (( code= ZSetDestAddr(&sin)) != ZERR_NONE) {72 owl_function_error("Initializing Zephyr: %s", error_message( code));70 if ((ret = ZSetDestAddr(&sin)) != ZERR_NONE) { 71 owl_function_error("Initializing Zephyr: %s", error_message(ret)); 73 72 return; 74 73 } 75 74 76 if (( code= ZSendNotice(&req, ZNOAUTH)) != ZERR_NONE) {77 owl_function_error("Initializing Zephyr: %s", error_message( code));75 if ((ret = ZSendNotice(&req, ZNOAUTH)) != ZERR_NONE) { 76 owl_function_error("Initializing Zephyr: %s", error_message(ret)); 78 77 return; 79 78 }
Note: See TracChangeset
for help on using the changeset viewer.