Have net_stream_listen() return the port number in HOST byte order,
and KEEP the port in host byte order until absolutely necessary to change it back to network byte order.
Showing
- src/api/allocate.c 2 additions, 2 deletionssrc/api/allocate.c
- src/api/spawn.c 5 additions, 9 deletionssrc/api/spawn.c
- src/api/step_ctx.c 1 addition, 1 deletionsrc/api/step_ctx.c
- src/api/step_io.c 2 additions, 4 deletionssrc/api/step_io.c
- src/api/step_launch.c 2 additions, 2 deletionssrc/api/step_launch.c
- src/common/net.c 7 additions, 3 deletionssrc/common/net.c
- src/common/net.h 2 additions, 1 deletionsrc/common/net.h
- src/plugins/mpi/mpichgm/mpichgm.c 1 addition, 1 deletionsrc/plugins/mpi/mpichgm/mpichgm.c
- src/salloc/msg.c 1 addition, 3 deletionssrc/salloc/msg.c
- src/sattach/sattach.c 1 addition, 1 deletionsrc/sattach/sattach.c
Please register or sign in to comment