Changes in irc_util.c [a4cdf43:6b13103]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_util.c
ra4cdf43 r6b13103 20 20 You should have received a copy of the GNU General Public License with 21 21 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 22 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,23 Suite 330, Boston, MA 02111-1307USA22 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 23 Fifth Floor, Boston, MA 02110-1301 USA 24 24 */ 25 25 … … 42 42 43 43 /* \d+ */ 44 if( ! isdigit( *s ) )44 if( !g_ascii_isdigit( *s ) ) 45 45 return SET_INVALID; 46 while( *s && isdigit( *s ) ) s ++;46 while( *s && g_ascii_isdigit( *s ) ) s ++; 47 47 48 48 /* EOS? */ … … 56 56 57 57 /* \d+ */ 58 if( ! isdigit( *s ) )58 if( !g_ascii_isdigit( *s ) ) 59 59 return SET_INVALID; 60 while( *s && isdigit( *s ) ) s ++;60 while( *s && g_ascii_isdigit( *s ) ) s ++; 61 61 62 62 /* EOS */
Note: See TracChangeset
for help on using the changeset viewer.