diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 15:28:07 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 15:28:07 +0000 |
commit | 438144692dba1aabd34d3253be61b461f15e5e6d (patch) | |
tree | 369daf30feaf63f41f2f32c45fa76f30f6870eae /session.c | |
parent | 8dbccbc4dbafbac0cee008f6e93cf022fdb7b515 (diff) |
Flush even detached sessions.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: session.c,v 1.5 2007-08-27 13:45:26 nicm Exp $ */ +/* $Id: session.c,v 1.6 2007-08-27 15:28:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -70,7 +70,7 @@ session_create(const char *name, const char *cmd, u_int sx, u_int sy) if (*name != '\0') strlcpy(s->name, name, sizeof s->name); else - xsnprintf(s->name, sizeof s->name, "session-%u", i); + xsnprintf(s->name, sizeof s->name, "%u", i); return (s); } |