Changeset f85278b


Ignore:
Timestamp:
Jan 5, 2011, 1:35:15 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
release-1.7
Children:
2e5b2f9
Parents:
b4f7576
git-author:
Nelson Elhage <nelhage@mit.edu> (01/04/11 09:46:58)
git-committer:
David Benjamin <davidben@mit.edu> (01/05/11 13:35:15)
Message:
Don't use error_message if we are building without Zephyr.

That code path will never actually be executed if we don't have Zephyr, so let's
just '#ifdef' it out and remove the com_err dependency.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rb4f7576 rf85278b  
    376376 * the message is expected to be set from the zwrite line itself
    377377 */
     378#ifdef HAVE_LIBZEPHYR
    378379void owl_function_zwrite(owl_zwrite *z, const char *msg)
    379380{
     
    410411  }
    411412}
     413#else
     414void owl_function_zwrite(owl_zwrite *z, const char *msg) {
     415}
     416#endif
    412417
    413418/* send, log and display an outgoing zcrypt zephyr.  If 'msg' is NULL
Note: See TracChangeset for help on using the changeset viewer.