Commit 053ca75fbac196fd5730875af2412eafded8d8e0
1 parent
e5538ac2
Exists in
master
and in
3 other branches
+ Fixing lib3270_get_session_id
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/include/lib3270.h
@@ -770,7 +770,7 @@ | @@ -770,7 +770,7 @@ | ||
770 | LIB3270_EXPORT int lib3270_toggle(H3270 *h, LIB3270_TOGGLE ix); | 770 | LIB3270_EXPORT int lib3270_toggle(H3270 *h, LIB3270_TOGGLE ix); |
771 | 771 | ||
772 | LIB3270_EXPORT void lib3270_set_session_id(H3270 *hSession, char id); | 772 | LIB3270_EXPORT void lib3270_set_session_id(H3270 *hSession, char id); |
773 | - LIB3270_EXPORT void lib3270_get_session_id(H3270 *hSession); | 773 | + LIB3270_EXPORT char lib3270_get_session_id(H3270 *hSession); |
774 | 774 | ||
775 | /** | 775 | /** |
776 | * @brief IO flags. | 776 | * @brief IO flags. |
src/lib3270/session.c
@@ -434,7 +434,7 @@ LIB3270_EXPORT void lib3270_set_session_id(H3270 *hSession, char id) | @@ -434,7 +434,7 @@ LIB3270_EXPORT void lib3270_set_session_id(H3270 *hSession, char id) | ||
434 | hSession->id = id; | 434 | hSession->id = id; |
435 | } | 435 | } |
436 | 436 | ||
437 | -LIB3270_EXPORT void lib3270_get_session_id(H3270 *hSession) | 437 | +LIB3270_EXPORT char lib3270_get_session_id(H3270 *hSession) |
438 | { | 438 | { |
439 | CHECK_SESSION_HANDLE(hSession); | 439 | CHECK_SESSION_HANDLE(hSession); |
440 | return hSession->id; | 440 | return hSession->id; |