- Timestamp:
- 2015-01-17T20:00:49Z (10 years ago)
- 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. - Location:
- lib
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/events.h
rbc7a0d4 r1065dd4 16 16 * You should have received a copy of the GNU General Public License 17 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 * 20 20 */ -
lib/events_glib.c
rbc7a0d4 r1065dd4 22 22 You should have received a copy of the GNU General Public License with 23 23 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 24 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,25 Suite 330, Boston, MA 02111-1307USA24 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 25 Fifth Floor, Boston, MA 02110-1301 USA 26 26 */ 27 27 -
lib/events_libevent.c
rbc7a0d4 r1065dd4 22 22 You should have received a copy of the GNU General Public License with 23 23 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 24 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,25 Suite 330, Boston, MA 02111-1307USA24 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 25 Fifth Floor, Boston, MA 02110-1301 USA 26 26 */ 27 27 -
lib/http_client.c
rbc7a0d4 r1065dd4 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 … … 345 345 /* Might be a \r\n from the last chunk. */ 346 346 s = chunk; 347 while( isspace( *s ) )347 while( g_ascii_isspace( *s ) ) 348 348 s ++; 349 349 /* Chunk length. Might be incomplete. */ 350 350 if( s < eos && sscanf( s, "%x", &clen ) != 1 ) 351 351 return CR_ERROR; 352 while( isxdigit( *s ) )352 while( g_ascii_isxdigit( *s ) ) 353 353 s ++; 354 354 -
lib/http_client.h
rbc7a0d4 r1065dd4 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 -
lib/ini.c
rbc7a0d4 r1065dd4 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 #define BITLBEE_CORE … … 63 63 char *e; 64 64 65 while( isspace( *in ) )65 while( g_ascii_isspace( *in ) ) 66 66 in++; 67 67 68 68 e = in + strlen( in ) - 1; 69 while( e > in && isspace( *e ) )69 while( e > in && g_ascii_isspace( *e ) ) 70 70 e--; 71 71 e[1] = 0; -
lib/ini.h
rbc7a0d4 r1065dd4 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 -
lib/json.c
rbc7a0d4 r1065dd4 53 53 static unsigned char hex_value (json_char c) 54 54 { 55 if ( isdigit(c))55 if (g_ascii_isdigit(c)) 56 56 return c - '0'; 57 57 … … 609 609 default: 610 610 611 if ( isdigit (b) || b == '-')611 if (g_ascii_isdigit (b) || b == '-') 612 612 { 613 613 if (!new_value (&state, &top, &root, &alloc, json_integer)) … … 616 616 if (!state.first_pass) 617 617 { 618 while ( isdigit (b) || b == '+' || b == '-'618 while (g_ascii_isdigit (b) || b == '+' || b == '-' 619 619 || b == 'e' || b == 'E' || b == '.') 620 620 { … … 706 706 case json_double: 707 707 708 if ( isdigit (b))708 if (g_ascii_isdigit (b)) 709 709 { 710 710 ++ num_digits; -
lib/misc.c
rbc7a0d4 r1065dd4 27 27 You should have received a copy of the GNU General Public License with 28 28 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 29 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,30 Suite 330, Boston, MA 02111-1307USA29 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 30 Fifth Floor, Boston, MA 02110-1301 USA 31 31 */ 32 32 … … 163 163 while( *in ) 164 164 { 165 if( *in == '<' && ( isalpha( *(in+1) ) || *(in+1) == '/' ) )165 if( *in == '<' && ( g_ascii_isalpha( *(in+1) ) || *(in+1) == '/' ) ) 166 166 { 167 167 /* If in points at a < and in+1 points at a letter or a slash, this is probably … … 198 198 { 199 199 cs = ++in; 200 while( *in && isalpha( *in ) )200 while( *in && g_ascii_isalpha( *in ) ) 201 201 in ++; 202 202 … … 314 314 for( i = j = 0; t[i]; i ++, j ++ ) 315 315 { 316 /* Warning: isalnum() is locale-aware, so don't use it here! */316 /* Warning: g_ascii_isalnum() is locale-aware, so don't use it here! */ 317 317 if( ( t[i] >= 'A' && t[i] <= 'Z' ) || 318 318 ( t[i] >= 'a' && t[i] <= 'z' ) || … … 490 490 491 491 while( *value ) 492 if( ! isdigit( *value ) )492 if( !g_ascii_isdigit( *value ) ) 493 493 return 0; 494 494 else -
lib/misc.h
rbc7a0d4 r1065dd4 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 -
lib/proxy.c
rbc7a0d4 r1065dd4 17 17 * You should have received a copy of the GNU General Public License 18 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 20 * 21 21 */ -
lib/proxy.h
rbc7a0d4 r1065dd4 16 16 * You should have received a copy of the GNU General Public License 17 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 * 20 20 */ -
lib/ssl_client.h
rbc7a0d4 r1065dd4 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 -
lib/ssl_gnutls.c
rbc7a0d4 r1065dd4 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 … … 318 318 gnutls_set_default_priority( conn->session ); 319 319 gnutls_credentials_set( conn->session, GNUTLS_CRD_CERTIFICATE, xcred ); 320 if( conn->hostname && ! isdigit( conn->hostname[0] ) )320 if( conn->hostname && !g_ascii_isdigit( conn->hostname[0] ) ) 321 321 gnutls_server_name_set( conn->session, GNUTLS_NAME_DNS, 322 322 conn->hostname, strlen( conn->hostname ) ); -
lib/ssl_nss.c
rbc7a0d4 r1065dd4 22 22 You should have received a copy of the GNU General Public License with 23 23 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 24 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,25 Suite 330, Boston, MA 02111-1307USA24 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 25 Fifth Floor, Boston, MA 02110-1301 USA 26 26 */ 27 27 -
lib/ssl_openssl.c
rbc7a0d4 r1065dd4 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 … … 159 159 SSL_set_fd( conn->ssl, conn->fd ); 160 160 161 if( conn->hostname && ! isdigit( conn->hostname[0] ) )161 if( conn->hostname && !g_ascii_isdigit( conn->hostname[0] ) ) 162 162 SSL_set_tlsext_host_name( conn->ssl, conn->hostname ); 163 163 -
lib/url.c
rbc7a0d4 r1065dd4 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 -
lib/url.h
rbc7a0d4 r1065dd4 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
Note: See TracChangeset
for help on using the changeset viewer.