Changeset b077bdd in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Dec 3, 2007, 4:09:43 PM (13 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
Children:
3b83e00
Parents:
8e2a483
git-author:
Nikos Mavrogiannopoulos <nmav@…> (12/03/07 16:09:43)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (12/03/07 16:09:43)
Message:

added more error checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r8e2a483 rb077bdd  
    5858                    apr_pool_t * plog, apr_pool_t * ptemp)
    5959{
     60int ret;
    6061
    6162#if APR_HAS_THREADS
     
    6869#endif
    6970
    70     gnutls_global_init();
    71 
     71    ret = gnutls_global_init();
     72    if (ret < 0) /* FIXME: can we print here? */
     73        exit(ret);
     74                                           
    7275    apr_pool_cleanup_register(pconf, NULL, mgs_cleanup_pre_config,
    7376                              apr_pool_cleanup_null);
Note: See TracChangeset for help on using the changeset viewer.