diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-25 21:42:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-25 21:42:11 +0000 |
commit | 78ad97319349e9881653684f276dd620a0a423e9 (patch) | |
tree | cded8f0063f6848429706a36bd51174e62417b7e /src/transport/gnunet-helper-transport-bluetooth.c | |
parent | b968c5926b205c3cdd467474753746ef21522b32 (diff) | |
download | gnunet-78ad97319349e9881653684f276dd620a0a423e9.tar.gz gnunet-78ad97319349e9881653684f276dd620a0a423e9.zip |
-misc fixes based on cppcheck
Diffstat (limited to 'src/transport/gnunet-helper-transport-bluetooth.c')
-rw-r--r-- | src/transport/gnunet-helper-transport-bluetooth.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/gnunet-helper-transport-bluetooth.c b/src/transport/gnunet-helper-transport-bluetooth.c index d46b818a6..43eccf0aa 100644 --- a/src/transport/gnunet-helper-transport-bluetooth.c +++ b/src/transport/gnunet-helper-transport-bluetooth.c | |||
@@ -1960,8 +1960,10 @@ main (int argc, char *argv[]) | |||
1960 | read (i, readbuf, sizeof (readbuf)); | 1960 | read (i, readbuf, sizeof (readbuf)); |
1961 | if (0 > ret) | 1961 | if (0 > ret) |
1962 | { | 1962 | { |
1963 | fprintf (stderr, "Read error from STDIN: %s\n", strerror (errno)); | 1963 | fprintf (stderr, |
1964 | break; break; | 1964 | "Read error from STDIN: %s\n", |
1965 | strerror (errno)); | ||
1966 | break; | ||
1965 | } | 1967 | } |
1966 | if (0 == ret) | 1968 | if (0 == ret) |
1967 | { | 1969 | { |
@@ -2443,4 +2445,4 @@ main (int argc, char *argv[]) | |||
2443 | WSACleanup(); | 2445 | WSACleanup(); |
2444 | #endif | 2446 | #endif |
2445 | return 1; /* we never exit 'normally' */ | 2447 | return 1; /* we never exit 'normally' */ |
2446 | } \ No newline at end of file | 2448 | } |