Changeset 5754:b23d79c13370 in roaraudio for libroaresd


Ignore:
Timestamp:
11/16/12 16:49:56 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

avoid getenv() and use more portable roar_env_get(). Also improved security as we enfore const now on bufferes obtained from the env.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaresd/esdbasic.c

    r5381 r5754  
    4949 
    5050 if ( host == NULL ) 
    51   host = getenv("ESPEAKER"); 
     51  host = roar_env_get("ESPEAKER"); 
    5252 
    5353 if ( roar_simple_connect(&con, (char*) host, NULL) == -1 ) { 
Note: See TracChangeset for help on using the changeset viewer.