Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pkcs11 Proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
smallstep
Pkcs11 Proxy
Commits
f3fe7af6
Commit
f3fe7af6
authored
15 years ago
by
Corentin Chary
Browse files
Options
Downloads
Patches
Plain Diff
pkcs11-daemon: pthread_create returns 0 on success
Signed-off-by:
Corentin Chary
<
corentin.chary@gmail.com
>
parent
0a74306a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gck-rpc-dispatch.c
+1
-1
1 addition, 1 deletion
gck-rpc-dispatch.c
with
1 addition
and
1 deletion
gck-rpc-dispatch.c
+
1
−
1
View file @
f3fe7af6
...
@@ -2191,7 +2191,7 @@ void gck_rpc_layer_accept(void)
...
@@ -2191,7 +2191,7 @@ void gck_rpc_layer_accept(void)
error
=
pthread_create
(
&
ds
->
thread
,
NULL
,
error
=
pthread_create
(
&
ds
->
thread
,
NULL
,
run_dispatch_thread
,
&
(
ds
->
socket
));
run_dispatch_thread
,
&
(
ds
->
socket
));
if
(
!
error
)
{
if
(
error
)
{
gck_rpc_warn
(
"couldn't start thread: %s"
,
strerror
(
errno
));
gck_rpc_warn
(
"couldn't start thread: %s"
,
strerror
(
errno
));
close
(
new_fd
);
close
(
new_fd
);
free
(
ds
);
free
(
ds
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment