iproxy: Fix crash when no UDID is given
diff --git a/tools/iproxy.c b/tools/iproxy.c
index 64a9989..e133e26 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -411,7 +411,7 @@
 					}
 					cdata->fd = c_sock;
 					cdata->sfd = -1;
-					cdata->udid = strdup(device_udid);
+					cdata->udid = (device_udid) ? strdup(device_udid) : NULL;
 					cdata->lookup_opts = lookup_opts;
 					cdata->device_port = device_port[i];
 #ifdef WIN32