Changeset 9d6b229 for util.c


Ignore:
Timestamp:
2006-01-14T20:34:10Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0431ea1
Parents:
5c577bd (diff), 277674c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Imported changes from main tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    r5c577bd r9d6b229  
    3636#include <stdlib.h>
    3737#include <string.h>
     38#include <ctype.h>
    3839#include <glib.h>
    3940#include <time.h>
     
    377378        for( i = j = 0; t[i]; i ++, j ++ )
    378379        {
    379                 if( t[i] <= ' ' || ((unsigned char *)t)[i] >= 128 || t[i] == '%' )
     380                /* if( t[i] <= ' ' || ((unsigned char *)t)[i] >= 128 || t[i] == '%' ) */
     381                if( !isalnum( t[i] ) )
    380382                {
    381383                        sprintf( s + j, "%%%02X", ((unsigned char*)t)[i] );
Note: See TracChangeset for help on using the changeset viewer.