Changeset 5754:b23d79c13370 in roaraudio for libroar/pinentry.c
- Timestamp:
- 11/16/12 16:49:56 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/pinentry.c
r5619 r5754 45 45 #endif 46 46 47 int roar_pinentry_open (struct roar_pinentry * pe, int flags, c har * display, char * tty,char * term) {47 int roar_pinentry_open (struct roar_pinentry * pe, int flags, const char * display, const char * tty, const char * term) { 48 48 #ifdef _CAN_OPERATE 49 49 int in[2], out[2]; … … 57 57 58 58 if ( display == NULL ) 59 display = getenv("DISPLAY");59 display = roar_env_get("DISPLAY"); 60 60 61 61 if ( display == NULL ) … … 73 73 74 74 if ( term == NULL ) 75 term = getenv("TERM");75 term = roar_env_get("TERM"); 76 76 77 77 if ( term == NULL )
Note: See TracChangeset
for help on using the changeset viewer.