Changeset 1354 for trunk/gsdl/src/recpt/cgiwrapper.cpp
- Timestamp:
- 2000-08-04T11:17:35+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiwrapper.cpp
r1347 r1354 406 406 cout << text_t2ascii << outspaces; 407 407 408 ColInfoResponse_t cinfo;409 (*rprotolist_here).p->get_collectinfo (*collist_here, cinfo, err, cerr);410 if (err == noError && is_z3950 == false) {411 if (cinfo.isPublic) cout << "public ";412 else cout << "private";413 414 if (cinfo.buildDate > 0) cout << " running ";415 else cout << " not running";416 cout << text_t2ascii << *collist_here;417 418 int spaces = (22 - (*collist_here).size());419 if (spaces < 2) spaces = 2;420 text_t outspaces;421 for (int i = 0; i < spaces; i++) outspaces.push_back (' ');422 cout << text_t2ascii << outspaces;423 424 408 ColInfoResponse_t *cinfo = recpt.get_collectinfo_ptr ((*rprotolist_here).p, *collist_here, cerr); 425 409 if (cinfo != NULL) { … … 438 422 439 423 collist_here ++; 440 }441 442 cout << "\n";443 444 collist_here ++;445 424 } 446 425 } … … 448 427 rprotolist_here ++; 449 428 } // end of while loop 450 429 451 430 if (!found_valid_col) { 452 431 cout << "WARNING: No \"running\" collections were found. You need to\n";
Note:
See TracChangeset
for help on using the changeset viewer.