summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichal Wasko <michal.wasko@intel.com>2017-03-16 09:16:21 +0100
committerMichal Wasko <michal.wasko@intel.com>2017-03-16 09:16:21 +0100
commit4ef1e725536359376a527331b2f960e8172f7ee7 (patch)
treea76fcb613f42c65f87a586689dfea141f462997b /examples
parent96bc506bc3d2dda21e327f2fb158661003fffbbf (diff)
downloadOpen-AVB-4ef1e725536359376a527331b2f960e8172f7ee7.tar.gz
Indentation fixed
Diffstat (limited to 'examples')
-rw-r--r--examples/simple_listener/simple_listener.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/simple_listener/simple_listener.c b/examples/simple_listener/simple_listener.c
index 035d99b3..aecd74aa 100644
--- a/examples/simple_listener/simple_listener.c
+++ b/examples/simple_listener/simple_listener.c
@@ -377,7 +377,7 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
}
- fprintf(stdout,"Output SampleRate:%d, Channels:%d, Format0x%X\n",
+ fprintf(stdout,"Output SampleRate:%d, Channels:%d, Format0x%X\n",
sf_info->samplerate, sf_info->channels, sf_info->format);
if (NULL == (glob_snd_file = sf_open(file_name, SFM_WRITE, sf_info)))
{
@@ -401,9 +401,9 @@ int main(int argc, char *argv[])
#if DEBUG
fprintf(stdout,"Got session pcap handler.\n");
#endif /* DEBUG */
-
- fprintf(stdout,"Create packet filter ether dst %s\n", dest_mac);
+
/* compile and apply filter */
+ fprintf(stdout,"Create packet filter ether dst %s\n", dest_mac);
sprintf(filter_exp,"ether dst %s", dest_mac);
if (-1 == pcap_compile(glob_pcap_handle, &comp_filter_exp, filter_exp, 0, PCAP_NETMASK_UNKNOWN))
{