Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ssl_gnutls.c

    r286cd48 r6b13103  
    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
     
    318318        gnutls_set_default_priority( conn->session );
    319319        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] ) )
    321321                gnutls_server_name_set( conn->session, GNUTLS_NAME_DNS,
    322322                                        conn->hostname, strlen( conn->hostname ) );
Note: See TracChangeset for help on using the changeset viewer.