aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-10-26 00:36:58 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-10-26 00:36:58 +0000
commit810ee5009750fce33d0d54c4a53e9faf39c72833 (patch)
tree23186851e9ba0bf1bb188018125f464caff10401 /src
parent02b5d6cde18301bb5d1895896b18845c776c805d (diff)
downloadconnectbot-810ee5009750fce33d0d54c4a53e9faf39c72833.tar.gz
connectbot-810ee5009750fce33d0d54c4a53e9faf39c72833.tar.bz2
connectbot-810ee5009750fce33d0d54c4a53e9faf39c72833.zip
* fixed bug that causes crash when editing host--we shouldnt be including the BLOB hostkey in the returned cursor
Diffstat (limited to 'src')
-rw-r--r--src/org/connectbot/util/HostDatabase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/connectbot/util/HostDatabase.java b/src/org/connectbot/util/HostDatabase.java
index e203060..7ed1a9a 100644
--- a/src/org/connectbot/util/HostDatabase.java
+++ b/src/org/connectbot/util/HostDatabase.java
@@ -150,7 +150,7 @@ public class HostDatabase extends SQLiteOpenHelper {
SQLiteDatabase db = this.getReadableDatabase();
return db.query(TABLE_HOSTS, new String[] { "_id", FIELD_HOST_NICKNAME,
FIELD_HOST_USERNAME, FIELD_HOST_HOSTNAME, FIELD_HOST_PORT,
- FIELD_HOST_HOSTKEY, FIELD_HOST_LASTCONNECT, FIELD_HOST_COLOR },
+ FIELD_HOST_LASTCONNECT, FIELD_HOST_COLOR },
null, null, null, null, sortField + " ASC");
}