Merge branch 'merge-requests/41'

This commit is contained in:
Ciaran Gultnieks 2013-05-30 18:35:32 +01:00
commit 068734c275

View File

@ -1029,7 +1029,7 @@ public class DB {
public Repo getRepo(int id) { public Repo getRepo(int id) {
Cursor c = null; Cursor c = null;
try { try {
c = db.query(TABLE_REPO, new String[] { "address, inuse", c = db.query(TABLE_REPO, new String[] { "address", "inuse",
"priority", "pubkey", "lastetag" }, "priority", "pubkey", "lastetag" },
"id = " + Integer.toString(id), null, null, null, null); "id = " + Integer.toString(id), null, null, null, null);
if (!c.moveToFirst()) if (!c.moveToFirst())