- my($sec, $min, $hour, $mday, $mon, $year) = localtime($time);
- return sprintf("%04d-%02d-%02dT%02d:%02d:%02d",
- $year+1900, $mon+1, $mday, $hour, $min, $sec);
+ if ($ok) {
+ foreach my $opt (qw(search present delSet resourceReport
+ triggerResourceCtrl resourceCtrl
+ accessCtrl scan sort extendedServices
+ level_1Segmentation level_2Segmentation
+ concurrentOperations namedResultSets
+ encapsulation resultCount negotiationModel
+ duplicationDetection queryType104
+ pQESCorrection stringSchema)) {
+ #print STDERR "\$conn->option('init_opt_$opt') = '", $conn->option("init_opt_$opt"), "'\n";
+ $conn->record()->store_result('init_opt', option => $opt)
+ if $conn->option("init_opt_$opt");
+ }
+
+ foreach my $opt (qw(serverImplementationId
+ serverImplementationName
+ serverImplementationVersion)) {
+ $conn->record()->store_result($opt, value => $conn->option($opt));
+ }
+ }
+
+
+ return $ok ? ZOOM::IRSpy::Status::TEST_GOOD :
+ ZOOM::IRSpy::Status::TEST_BAD;