Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
71c9084c
Commit
71c9084c
authored
Apr 19, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{src,include}/sm_io_err*: add new "Could not register SM" error
parent
444378c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sm_io_err.h
include/sm_io_err.h
+1
-0
sm_io_err.c
src/sm_io/sm_io_err.c
+2
-1
No files found.
include/sm_io_err.h
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 */
};
...
...
src/sm_io/sm_io_err.c
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 */
...
...
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