Use KEYC_NONE constant instead of 0 on init.

This commit is contained in:
Nicholas Marriott
2009-09-21 15:32:06 +00:00
parent a448524424
commit 6fab9a3e6f
8 changed files with 8 additions and 8 deletions

View File

@ -69,7 +69,7 @@ cmd_new_session_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_new_session_data *data;
int opt;
self->entry->init(self, 0);
self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "ds:n:")) != -1) {