Changeset b0b4592e in mainline for uspace/srv/audio/hound/iface.c
- Timestamp:
- 2014-03-15T19:21:53Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c773adc
- Parents:
- 2034f98 (diff), 8cffdf5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/iface.c
r2034f98 rb0b4592e 38 38 #include <hound/protocol.h> 39 39 #include <inttypes.h> 40 #include <malloc.h>41 40 42 41 #include "hound.h" … … 70 69 if (!ctx) 71 70 return EINVAL; 72 int ret = hound_remove_ctx(server, ctx);73 if (ret != EOK)74 return ret;75 hound_ctx_destroy(ctx);76 log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id);77 return EOK;71 const int ret = hound_remove_ctx(server, ctx); 72 if (ret == EOK) { 73 hound_ctx_destroy(ctx); 74 log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id); 75 } 76 return ret; 78 77 } 79 78
Note:
See TracChangeset
for help on using the changeset viewer.