Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
3d9e66bd
Commit
3d9e66bd
authored
Nov 25, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in argument check, server id was not optional
parent
9cdb45fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
opc/exe/opc_provider/src/opc_provider.cpp
opc/exe/opc_provider/src/opc_provider.cpp
+3
-3
No files found.
opc/exe/opc_provider/src/opc_provider.cpp
View file @
3d9e66bd
/*
* Proview $Id: opc_provider.cpp,v 1.1
7 2008-10-31 12:51:29
claes Exp $
* Proview $Id: opc_provider.cpp,v 1.1
8 2008-11-25 08:13:26
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1274,7 +1274,7 @@ void opc_provider::errlog( std::string* item, std::vector<s0__OPCError *>& errve
void
usage
()
{
cout
<<
"
remote_pvd_pwrcli Proview provider
client"
<<
endl
<<
endl
<<
cout
<<
"
opc_provider Proview Opc
client"
<<
endl
<<
endl
<<
"Arguments: "
<<
endl
<<
" 1 Opc server URL"
<<
endl
<<
" 2 Extern volume id"
<<
endl
<<
...
...
@@ -1291,7 +1291,7 @@ int main(int argc, char *argv[])
int
server_id
;
/* Read arguments */
if
(
argc
<
4
)
{
if
(
argc
<
5
)
{
usage
();
exit
(
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment