aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-12-09 13:50:35 -0800
committerMartin Braun <martin.braun@ettus.com>2015-12-09 13:50:35 -0800
commit9a6f82eff99db3b8658f4ae6b27aba78e634b398 (patch)
tree3cd9ad0e192f8b53814383e982aa153005f8d7c6 /host/examples
parent930035768259e5a53ba3aed47a17b2671a86704c (diff)
parent21df150ec873f15c4e85f9564b56586e3fe2afcf (diff)
downloaduhd-9a6f82eff99db3b8658f4ae6b27aba78e634b398.tar.gz
uhd-9a6f82eff99db3b8658f4ae6b27aba78e634b398.tar.bz2
uhd-9a6f82eff99db3b8658f4ae6b27aba78e634b398.zip
Merge branch 'maint'
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/rx_samples_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/rx_samples_c.c b/host/examples/rx_samples_c.c
index abea812fe..0ecb89153 100644
--- a/host/examples/rx_samples_c.c
+++ b/host/examples/rx_samples_c.c
@@ -222,7 +222,7 @@ int main(int argc, char* argv[])
EXECUTE_OR_GOTO(close_file,
uhd_rx_metadata_error_code(md, &error_code)
)
- if(return_code != UHD_RX_METADATA_ERROR_CODE_NONE){
+ if(error_code != UHD_RX_METADATA_ERROR_CODE_NONE){
fprintf(stderr, "Error code 0x%x was returned during streaming. Aborting.\n", return_code);
goto close_file;
}