projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code shuffling fixes warning with inline function... weirdo.
[citadel.git]
/
citadel
/
user_ops.h
diff --git
a/citadel/user_ops.h
b/citadel/user_ops.h
index 7bd7c6b7f2cc21d7db7048ff0cc12154c0caafc6..15107af7db79d1955677fefcfb61f18b37378a52 100644
(file)
--- a/
citadel/user_ops.h
+++ b/
citadel/user_ops.h
@@
-70,7
+70,7
@@
static INLINE long cutuserkey(char *username) {
syslog(LOG_EMERG, "Username to long: %s", username);
cit_backtrace ();
len = USERNAME_SIZE - 1;
- username[
63
]='\0';
+ username[
len
]='\0';
}
return len;
}