summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-09-29 05:57:09 +0200
committerStefan Weil <sw@weilnetz.de>2015-09-29 05:57:09 +0200
commit05235963d9dc148e129e2c7742653280d7e6375b (patch)
tree6dbed7569f1dfd44dc86b7774cfb37b71237669a /src/lib
parent99fc1ab306f9db0085adf648369404ce8aae22a9 (diff)
Fix typo in variable name
This makes checks with codespell easier. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjpip/imgsock_manager.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/openjpip/imgsock_manager.c b/src/lib/openjpip/imgsock_manager.c
index 10e997b1..4337e608 100644
--- a/src/lib/openjpip/imgsock_manager.c
+++ b/src/lib/openjpip/imgsock_manager.c
@@ -181,19 +181,19 @@ void send_PNMstream( SOCKET connected_socket, Byte_t *pnmstream, unsigned int wi
void send_SIZstream( SOCKET connected_socket, unsigned int width, unsigned int height)
{
- Byte_t responce[9];
+ Byte_t response[9];
- responce[0] = 'S';
- responce[1] = 'I';
- responce[2] = 'Z';
- responce[3] = (width >> 16) & 0xff;
- responce[4] = (width >> 8) & 0xff;
- responce[5] = width & 0xff;
- responce[6] = (height >> 16) & 0xff;
- responce[7] = (height >> 8) & 0xff;
- responce[8] = height & 0xff;
-
- send_stream( connected_socket, responce, 9);
+ response[0] = 'S';
+ response[1] = 'I';
+ response[2] = 'Z';
+ response[3] = (width >> 16) & 0xff;
+ response[4] = (width >> 8) & 0xff;
+ response[5] = width & 0xff;
+ response[6] = (height >> 16) & 0xff;
+ response[7] = (height >> 8) & 0xff;
+ response[8] = height & 0xff;
+
+ send_stream( connected_socket, response, 9);
}
void response_signal( SOCKET connected_socket, OPJ_BOOL succeed)