dcc: Introduce dcc_type and dcc_state enums

Closes #1705
This commit is contained in:
Ben Gamari
2016-05-08 09:48:13 +02:00
committed by Patrick Griffis
parent 77dccacd02
commit 9e11280e52
3 changed files with 35 additions and 14 deletions

View File

@@ -713,6 +713,11 @@ dcc_dclick_cb (GtkTreeView *view, GtkTreePath *path,
case STAT_ABORTED:
case STAT_DONE:
dcc_abort (dcc->serv->front_session, dcc);
break;
case STAT_QUEUED:
case STAT_ACTIVE:
case STAT_CONNECTING:
break;
}
}