Commit 053ca75fbac196fd5730875af2412eafded8d8e0

Authored by Perry Werneck
1 parent e5538ac2

+ 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 770 LIB3270_EXPORT int lib3270_toggle(H3270 *h, LIB3270_TOGGLE ix);
771 771  
772 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 776 * @brief IO flags.
... ...
src/lib3270/session.c
... ... @@ -434,7 +434,7 @@ LIB3270_EXPORT void lib3270_set_session_id(H3270 *hSession, char id)
434 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 439 CHECK_SESSION_HANDLE(hSession);
440 440 return hSession->id;
... ...