Corrected the spelling of 'Username too long:' and reduced it from a LOG_EMERG to...
authorArt Cancro <ajc@uncensored.citadel.org>
Mon, 16 Apr 2012 03:34:49 +0000 (23:34 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Mon, 16 Apr 2012 03:34:49 +0000 (23:34 -0400)
citadel/user_ops.h

index 15107af7db79d1955677fefcfb61f18b37378a52..3afe55013250e39fcaf495079f9db904e453661e 100644 (file)
@@ -67,7 +67,7 @@ static INLINE long cutuserkey(char *username) {
        len = strlen(username);
        if (len >= USERNAME_SIZE)
        {
-               syslog(LOG_EMERG, "Username to long: %s", username);
+               syslog(LOG_INFO, "Username too long: %s", username);
                cit_backtrace ();
                len = USERNAME_SIZE - 1; 
                username[len]='\0';
@@ -85,7 +85,7 @@ static INLINE void makeuserkey(char *key, const char *username, long len) {
 
        if (len >= USERNAME_SIZE)
        {
-               syslog(LOG_EMERG, "Username to long: %s", username);
+               syslog(LOG_INFO, "Username too long: %s", username);
                cit_backtrace ();
                len = USERNAME_SIZE - 1; 
        }