Changeset 38986 for trunk/Ohana/src/opihi/lib.shell/SocketOps.c
- Timestamp:
- Oct 27, 2015, 4:49:06 PM (11 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/lib.shell/SocketOps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ipp-20150625/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/lib.shell/SocketOps.c
r32632 r38986 23 23 status = gethostname (myHostname, HOST_NAME_MAX); 24 24 25 fprintf (stderr, "target host: %s, real host: %s\n", hostname, myHostname); 25 if (strcmp (hostname, myHostname)) { 26 fprintf (stderr, "target host: %s, real host: %s\n", hostname, myHostname); 27 fprintf (stderr, "please run on the correct host\n"); 28 exit (2); 29 } 26 30 27 31 GetPortRange (&start, &stop, portinfo); … … 197 201 198 202 host = gethostbyname (hostname); 203 if (!host) { 204 gprint (GP_ERR, "cannot connect to pantasks server %s\n", hostname); 205 exit (3); 206 } 207 199 208 bzero (hostip, 80); 200 209 for (i = 0; i < host[0].h_length; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
