Commit cfaf3b74fb85dd4e813222bd34107974ac77ec94
1 parent
518e10ca
Exists in
master
and in
1 other branch
Fixing windows IPC server.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
server/src/core/response.c
... | ... | @@ -133,7 +133,7 @@ GVariant * ipc3270_response_steal_value(GObject *object) { |
133 | 133 | } |
134 | 134 | |
135 | 135 | const GList * ipc3270_get_values(GObject *object) { |
136 | - IPC3270_RESPONSE(object)->values; | |
136 | + return IPC3270_RESPONSE(object)->values; | |
137 | 137 | } |
138 | 138 | |
139 | 139 | guint ipc3270_response_length(GObject *object) { | ... | ... |
server/src/include/ipc-glib.h
... | ... | @@ -156,7 +156,7 @@ |
156 | 156 | #ifdef _WIN32 |
157 | 157 | // unsigned char * ipc3270_pack(const gchar *name, int id, GVariant *values, size_t * szPacket); |
158 | 158 | // unsigned char * ipc3270_pack_value(const gchar *name, int id, GVariant *value, size_t * szPacket); |
159 | -// unsigned char * ipc3270_pack_error(const GError *error, size_t * szPacket); | |
159 | + unsigned char * ipc3270_pack_error(const GError *error, size_t * szPacket); | |
160 | 160 | unsigned char * ipc3270_pack(const gchar *name, GObject *object, int id, size_t * szPacket); |
161 | 161 | GVariant * ipc3270_unpack(const unsigned char *packet, int *id); |
162 | 162 | #endif // _WIN32 | ... | ... |