summaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 2291671..ef371a3 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -399,7 +399,7 @@ int config_set_device_record(const char *udid, char* record_data, uint64_t recor
399{ 399{
400 int res = 0; 400 int res = 0;
401 401
402 if (!udid || record_data || record_size < 8) 402 if (!udid || !record_data || record_size < 8)
403 return -EINVAL; 403 return -EINVAL;
404 404
405 plist_t plist = NULL; 405 plist_t plist = NULL;