projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restrict usernames to the same character set as tags
[blerg.git]
/
database
/
util.c
diff --git
a/database/util.c
b/database/util.c
index
2accd5d
..
6a37e49
100644
(file)
--- a/
database/util.c
+++ b/
database/util.c
@@
-2,7
+2,7
@@
* BSD-style license. Please see the COPYING file for details.
*/
* BSD-style license. Please see the COPYING file for details.
*/
-#
define VALID_CHAR(x) (x == ' ' || x == '\'' || x == '-' || x == '.' || (x >= '0' && x <= '9') || (x >= 'A' && x <= 'Z') || x == '_' || (x >= 'a' && x <= 'z'))
+#
include "database.h"
int valid_name(const char *name) {
int i;
int valid_name(const char *name) {
int i;