- Timestamp:
- 04/25/06 08:10:38 (3 years ago)
- Files:
-
- 1 modified
-
releases/openct-0.6.7/src/ifd/ifdhandler.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/openct-0.6.7/src/ifd/ifdhandler.c
r850 r853 186 186 struct sigaction act; 187 187 char path[PATH_MAX]; 188 char file[PATH_MAX]; 189 190 if (! ct_format_path(path, PATH_MAX, file)) { 188 189 if (! ct_format_path(path, PATH_MAX, opt_reader)) { 191 190 ct_error("ct_format_path failed!"); 192 191 exit(1); … … 200 199 201 200 sock = ct_socket_new(0); 202 if (ct_socket_listen(sock, opt_reader, 0666) < 0) {201 if (ct_socket_listen(sock, path, 0666) < 0) { 203 202 ct_error("Failed to create server socket"); 204 203 exit(1);
