Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beam Positoning Monitor - Software
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Beam Positoning Monitor - Software
Commits
71c9084c
Commit
71c9084c
authored
8 years ago
by
Lucas Russo
Browse files
Options
Downloads
Patches
Plain Diff
{src,include}/sm_io_err*: add new "Could not register SM" error
parent
444378c7
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/sm_io_err.h
+1
-0
1 addition, 0 deletions
include/sm_io_err.h
src/sm_io/sm_io_err.c
+2
-1
2 additions, 1 deletion
src/sm_io/sm_io_err.c
with
3 additions
and
1 deletion
include/sm_io_err.h
+
1
−
0
View file @
71c9084c
...
...
@@ -29,6 +29,7 @@ enum _smio_err_e {
SMIO_ERR_INTERRUPTED_POLLER
,
/* SMIO Poller interrupted. zeroMQ context was
terminated or received interrupt signal */
SMIO_ERR_INV_SOCKET
,
/* Invalid socket reference */
SMIO_ERR_REGISTER_SM
,
/* Could not register SMIO */
SMIO_ERR_END
/* End of enum marker */
};
...
...
This diff is collapsed.
Click to expand it.
src/sm_io/sm_io_err.c
+
2
−
1
View file @
71c9084c
...
...
@@ -24,7 +24,8 @@ static const char *smio_err [SMIO_ERR_END] =
[
SMIO_ERR_BAD_MSG
]
=
"Malformed message received"
,
[
SMIO_ERR_INTERRUPTED_POLLER
]
=
"Poller interrupted. zeroMQ context was "
"terminated or received interrupt signal"
,
[
SMIO_ERR_INV_SOCKET
]
=
"Invalid socket reference"
[
SMIO_ERR_INV_SOCKET
]
=
"Invalid socket reference"
,
[
SMIO_ERR_REGISTER_SM
]
=
"Could not register SMIO"
};
/* Convert enumeration type to string */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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