Changeset b19e892 in mainline for uspace/app/websrv/websrv.c
- Timestamp:
- 2017-04-02T10:39:13Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c4cf0d
- Parents:
- 80743a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/websrv/websrv.c
r80743a1 rb19e892 40 40 #include <sys/types.h> 41 41 #include <stdlib.h> 42 #include <fcntl.h>43 42 #include <task.h> 43 44 #include <vfs/vfs.h> 44 45 45 46 #include <inet/addr.h> … … 224 225 return ENOMEM; 225 226 226 int fd = open(fname, O_RDONLY);227 int fd = vfs_lookup_open(fname, WALK_REGULAR, MODE_READ); 227 228 if (fd < 0) { 228 229 rc = send_response(conn, msg_not_found);
Note:
See TracChangeset
for help on using the changeset viewer.