Changeset 32632 for trunk/Ohana/src/opihi/lib.shell/multicommand.c
- Timestamp:
- Nov 8, 2011, 2:54:20 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/multicommand.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/multicommand.c
r27435 r32632 13 13 void multicommand_InitServer () { 14 14 15 char hostname[256], PASSWORD[256] ;15 char hostname[256], PASSWORD[256], portinfo[256]; 16 16 17 17 if (server != 0) { … … 27 27 } 28 28 29 /* is a port range defined? otherwise use the default */ 30 memset (portinfo, 0, 256); 31 VarConfig ("PANTASKS_SERVER_PORT", "%s", portinfo); 32 29 33 /* attempt to connect to the server */ 30 server = GetClientSocket (hostname );34 server = GetClientSocket (hostname, portinfo); 31 35 32 36 /* here we can perform the security handshaking */
Note:
See TracChangeset
for help on using the changeset viewer.
