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
d9e8fa9f
Commit
d9e8fa9f
authored
Jan 23, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Open directory db of no volume argument
parent
1c472307
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
wb/exe/wb/src/wb.cpp
wb/exe/wb/src/wb.cpp
+10
-9
No files found.
wb/exe/wb/src/wb.cpp
View file @
d9e8fa9f
...
@@ -435,7 +435,6 @@ int main( int argc, char *argv[])
...
@@ -435,7 +435,6 @@ int main( int argc, char *argv[])
char
title
[
80
];
char
title
[
80
];
char
backdoor
[]
=
{
112
,
108
,
101
,
97
,
115
,
101
,
99
,
108
,
97
,
101
,
115
,
108
,
101
,
116
,
109
,
101
,
105
,
110
,
0
};
char
backdoor
[]
=
{
112
,
108
,
101
,
97
,
115
,
101
,
99
,
108
,
97
,
101
,
115
,
108
,
101
,
116
,
109
,
101
,
105
,
110
,
0
};
XtAppContext
app_ctx
;
XtAppContext
app_ctx
;
int
sw_ignore_errors
=
0
;
int
sw_projectvolume
=
0
;
int
sw_projectvolume
=
0
;
int
i
;
int
i
;
...
@@ -444,17 +443,19 @@ int main( int argc, char *argv[])
...
@@ -444,17 +443,19 @@ int main( int argc, char *argv[])
strcpy
(
username
,
""
);
strcpy
(
username
,
""
);
strcpy
(
password
,
""
);
strcpy
(
password
,
""
);
volumename_p
=
0
;
strcpy
(
volumename
,
""
);
// Open directory volume as default
volumename_p
=
volumename
;
strcpy
(
volumename
,
"directory"
);
sw_projectvolume
=
1
;
arg_cnt
=
0
;
arg_cnt
=
0
;
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
argv
[
i
][
0
]
==
'-'
)
{
if
(
argv
[
i
][
0
]
==
'-'
)
{
switch
(
argv
[
i
][
1
])
{
switch
(
argv
[
i
][
1
])
{
case
'i'
:
case
'a'
:
sw_ignore_errors
=
1
;
// Load all volumes
break
;
sw_projectvolume
=
0
;
case
'p'
:
volumename_p
=
0
;
sw_projectvolume
=
1
;
break
;
break
;
default:
default:
printf
(
"Unknown argument: %s
\n
"
,
argv
[
i
]);
printf
(
"Unknown argument: %s
\n
"
,
argv
[
i
]);
...
@@ -470,7 +471,7 @@ int main( int argc, char *argv[])
...
@@ -470,7 +471,7 @@ int main( int argc, char *argv[])
break
;
break
;
case
2
:
case
2
:
strcpy
(
volumename
,
argv
[
i
]);
strcpy
(
volumename
,
argv
[
i
]);
volumename_p
=
volumename
;
sw_projectvolume
=
0
;
break
;
break
;
default:
default:
printf
(
"Unknown argument: %s
\n
"
,
argv
[
i
]);
printf
(
"Unknown argument: %s
\n
"
,
argv
[
i
]);
...
...
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