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:
f872213
)
agent: Don't look for NULL record type on the NDEF agent hash
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 31 Oct 2012 09:39:18 +0000
(10:39 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 19 Nov 2012 23:20:29 +0000
(
00:20
+0100)
src/agent.c
patch
|
blob
|
history
diff --git
a/src/agent.c
b/src/agent.c
index
1859815
..
7063d58
100644
(file)
--- a/
src/agent.c
+++ b/
src/agent.c
@@
-153,6
+153,9
@@
void __near_agent_ndef_parse_records(GList *records)
record = list->data;
type = __near_ndef_record_get_type(record);
+ if (type == NULL)
+ continue;
+
DBG("Looking for type %s", type);
agent = g_hash_table_lookup(ndef_app_hash, type);