projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused trace function
[citadel.git]
/
citadel
/
user_ops.h
diff --git
a/citadel/user_ops.h
b/citadel/user_ops.h
index 44cf771e6337cf4efc05cb98335b8b0d9c590221..697554f13ffa61e1fcaa025965ffdd8b0d64dd3e 100644
(file)
--- a/
citadel/user_ops.h
+++ b/
citadel/user_ops.h
@@
-66,7
+66,6
@@
static INLINE long cutuserkey(char *username) {
if (len >= USERNAME_SIZE)
{
syslog(LOG_INFO, "Username too long: %s", username);
if (len >= USERNAME_SIZE)
{
syslog(LOG_INFO, "Username too long: %s", username);
- cit_backtrace ();
len = USERNAME_SIZE - 1;
username[len]='\0';
}
len = USERNAME_SIZE - 1;
username[len]='\0';
}
@@
-84,7
+83,6
@@
static INLINE void makeuserkey(char *key, const char *username, long len) {
if (len >= USERNAME_SIZE)
{
syslog(LOG_INFO, "Username too long: %s", username);
if (len >= USERNAME_SIZE)
{
syslog(LOG_INFO, "Username too long: %s", username);
- cit_backtrace ();
len = USERNAME_SIZE - 1;
}
for (i=0; i<=len; ++i) {
len = USERNAME_SIZE - 1;
}
for (i=0; i<=len; ++i) {