projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug in username key usage that was causing email aliases to disappear
[citadel.git]
/
citadel
/
context.c
diff --git
a/citadel/context.c
b/citadel/context.c
index 8b06ab5c811b1d352edd8c30673a2c6fdff45321..860c39a7f9deda8e8e8eec990c139c06f0834525 100644
(file)
--- a/
citadel/context.c
+++ b/
citadel/context.c
@@
-2,7
+2,7
@@
* Citadel context management stuff.
* Here's where we (hopefully) have all the code that manipulates contexts.
*
* Citadel context management stuff.
* Here's where we (hopefully) have all the code that manipulates contexts.
*
- * Copyright (c) 1987-20
19
by the citadel.org team
+ * Copyright (c) 1987-20
20
by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
@@
-568,7
+568,7
@@
void CtdlFillSystemContext(CitContext *context, char *name)
context->cs_pid = 0;
strcpy (sysname, "SYS_");
strcat (sysname, name);
context->cs_pid = 0;
strcpy (sysname, "SYS_");
strcat (sysname, name);
- len =
cutusername
(sysname);
+ len =
strlen
(sysname);
memcpy(context->curr_user, sysname, len + 1);
context->client_socket = (-1);
context->state = CON_SYS;
memcpy(context->curr_user, sysname, len + 1);
context->client_socket = (-1);
context->state = CON_SYS;