]> code.citadel.org Git - citadel.git/blobdiff - citadel/support.c
* Allow users to authenticate with either their display name or any valid
[citadel.git] / citadel / support.c
index f7f17f7f84e2c155ec96972b6ba304cb956abb4c..970a215fd8ccb7dbb02708a7b19a15f64c53f83b 100644 (file)
@@ -36,7 +36,7 @@ void strproc(char *string)
        for (a=0; a<strlen(string); ++a) {
                if (string[a]<32) string[a]=32;
                if (string[a]>126) string[a]=32;
-               }
+       }
 
        /* Remove leading and trailing blanks */
        while( (string[0]<33) && (strlen(string)>0) )
@@ -49,8 +49,8 @@ void strproc(char *string)
                if ((string[a]==32)&&(string[a+1]==32)) {
                        strcpy(&string[a],&string[a+1]);
                        a=0;
-                       }
                }
+       }
 
        /* remove characters which would interfere with the network */
        for (a=0; a<strlen(string); ++a) {
@@ -60,10 +60,10 @@ void strproc(char *string)
                while (string[a]==',') strcpy(&string[a],&string[a+1]);
                while (string[a]=='%') strcpy(&string[a],&string[a+1]);
                while (string[a]=='|') strcpy(&string[a],&string[a+1]);
-               }
-
        }
 
+}
+
 
 
 /*