projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4fa633
)
tools: More verbose snep-send error paths
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 26 Apr 2012 13:34:09 +0000
(15:34 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 26 Apr 2012 22:28:33 +0000
(
00:28
+0200)
tools/snep-send.c
patch
|
blob
|
history
diff --git
a/tools/snep-send.c
b/tools/snep-send.c
index
0039d5d
..
a082efb
100644
(file)
--- a/
tools/snep-send.c
+++ b/
tools/snep-send.c
@@
-100,6
+100,8
@@
int main(int argc, char *argv[])
len = send(fd, (uint8_t *)frame, frame_length, 0);
if (len < 0) {
+ near_error("Could not send text NDEF %s\n", strerror(errno));
+
g_free(frame);
close(fd);