comparison libpurple/protocols/jabber/jutil.c @ 27536:8f2dfa6ef2f7

Of course, these should be >= and <=
author Mark Doliner <mark@kingant.net>
date Fri, 10 Jul 2009 23:05:20 +0000
parents 04d8452dee48
children 7e79102cda40
comparison
equal deleted inserted replaced
27535:91fefa830798 27536:8f2dfa6ef2f7
152 } 152 }
153 break; 153 break;
154 154
155 default: 155 default:
156 /* characters allowed everywhere */ 156 /* characters allowed everywhere */
157 if ((*c > 'a' && *c < 'z') 157 if ((*c >= 'a' && *c <= 'z')
158 || (*c > '0' && *c < '9') 158 || (*c >= '0' && *c <= '9')
159 || (*c > 'A' && *c < 'Z') 159 || (*c >= 'A' && *c <= 'Z')
160 || *c == '.' || *c == '-') 160 || *c == '.' || *c == '-')
161 /* We're good */ 161 /* We're good */
162 break; 162 break;
163 163
164 #if 0 164 #if 0