[ispykee] r6 committed - Make sure to terminate if no robot was found, instead of crashing.

6 views
Skip to first unread message

isp...@googlecode.com

unread,
Sep 6, 2010, 8:51:44 AM9/6/10
to isp...@googlegroups.com
Revision: 6
Author: pe...@hungry.com
Date: Mon Sep 6 05:47:46 2010
Log: Make sure to terminate if no robot was found, instead of crashing.
http://code.google.com/p/ispykee/source/detail?r=6

Modified:
/trunk/spykee.c

=======================================
--- /trunk/spykee.c Mon Sep 6 05:47:16 2010
+++ /trunk/spykee.c Mon Sep 6 05:47:46 2010
@@ -1560,6 +1560,10 @@
if (!spykee_ip)
spykee_ip = dscv_spykee();

+ if (!spykee_ip) {
+ return(1);
+ }
+
uname = argv[0];
pw = argv[1];
#ifdef HARDSTOP

Reply all
Reply to author
Forward
0 new messages