Changeset 1065dd4 for lib/http_client.c


Ignore:
Timestamp:
2015-01-17T20:00:49Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
eb4ad8d
Parents:
bc7a0d4 (diff), 6b13103 (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:

Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.c

    rbc7a0d4 r1065dd4  
    2020  You should have received a copy of the GNU General Public License with
    2121  the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL;
    22   if not, write to the Free Software Foundation, Inc., 59 Temple Place,
    23   Suite 330, Boston, MA  02111-1307  USA
     22  if not, write to the Free Software Foundation, Inc., 51 Franklin St.,
     23  Fifth Floor, Boston, MA  02110-1301  USA
    2424*/
    2525
     
    345345                /* Might be a \r\n from the last chunk. */
    346346                s = chunk;
    347                 while( isspace( *s ) )
     347                while( g_ascii_isspace( *s ) )
    348348                        s ++;
    349349                /* Chunk length. Might be incomplete. */
    350350                if( s < eos && sscanf( s, "%x", &clen ) != 1 )
    351351                        return CR_ERROR;
    352                 while( isxdigit( *s ) )
     352                while( g_ascii_isxdigit( *s ) )
    353353                        s ++;
    354354               
Note: See TracChangeset for help on using the changeset viewer.