aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/estream.c')
-rw-r--r--common/estream.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/common/estream.c b/common/estream.c
index 5b953b5d2..f43690d0a 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -5,7 +5,7 @@
*
* Libestream is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License,
+ * by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* Libestream is distributed in the hope that it will be useful, but
@@ -14,9 +14,7 @@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with Libestream; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- * USA.
+ * along with Libestream; if not, see <http://www.gnu.org/licenses/>.
*/
#ifdef USE_ESTREAM_SUPPORT_H
@@ -307,7 +305,7 @@ es_init_do (void)
if (!initialized)
{
- if (!pth_init ())
+ if (!pth_init () && errno != EPERM )
return -1;
if (pth_mutex_init (&estream_list_lock))
initialized = 1;