summaryrefslogtreecommitdiffstats
path: root/samsung-ril.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-03-30 23:47:43 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-03-30 23:47:43 +0100
commit92a9f65883aa97ef321b1a2fe2ce9939d624a59b (patch)
treeefcaf253f5fd1c79d7d6b795044a1b3a37e30ed7 /samsung-ril.h
parenta0c7d4db487af8b8a3e13de8c5dc39ea289d18ff (diff)
downloadhardware_replicant_libsamsung-ril-92a9f65883aa97ef321b1a2fe2ce9939d624a59b.tar.gz
hardware_replicant_libsamsung-ril-92a9f65883aa97ef321b1a2fe2ce9939d624a59b.tar.bz2
hardware_replicant_libsamsung-ril-92a9f65883aa97ef321b1a2fe2ce9939d624a59b.zip
client: Refactor code, check for NULL pointers and prevent memory leaks
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ril.h')
-rw-r--r--samsung-ril.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/samsung-ril.h b/samsung-ril.h
index 1346cdf..60aca04 100644
--- a/samsung-ril.h
+++ b/samsung-ril.h
@@ -59,6 +59,8 @@
#define RIL_TOKEN_DATA_WAITING (RIL_Token) 0xff
+#define RIL_CLIENT_MAX_TRIES 7
+
/*
* RIL client
*/