4
Fork 0

Fixed typo

This commit is contained in:
Artem Prilutskiy 2017-07-03 15:24:20 +03:00
parent 80b8de6cc3
commit 664415406c
3 changed files with 7 additions and 7 deletions

View file

@ -208,7 +208,7 @@ int main(int argc, char* argv[])
if (result != CLIENT_ERROR_SUCCESS) if (result != CLIENT_ERROR_SUCCESS)
{ {
printf("Waiting limit exceeded (%i)\n", result); printf("Waiting limit exceeded (%i)\n", result);
TransmitRewindCloae(context); TransmitRewindClose(context);
ReleaseRewindContext(context); ReleaseRewindContext(context);
return EXIT_FAILURE; return EXIT_FAILURE;
@ -300,7 +300,7 @@ int main(int argc, char* argv[])
// Clean up // Clean up
close(handle); close(handle);
TransmitRewindCloae(context); TransmitRewindClose(context);
ReleaseRewindContext(context); ReleaseRewindContext(context);
printf("Done\n"); printf("Done\n");

View file

@ -52,7 +52,7 @@ int ConnectRewindClient(struct RewindContext* context, const char* location, con
int WaitForRewindSessionEnd(struct RewindContext* context, struct RewindSessionPollData* request, time_t interval1, time_t interval2); int WaitForRewindSessionEnd(struct RewindContext* context, struct RewindSessionPollData* request, time_t interval1, time_t interval2);
#define TransmitRewindKeepAlive(context) TransmitRewindData(context, REWIND_TYPE_KEEP_ALIVE, REWIND_FLAG_NONE, context->data, context->length); #define TransmitRewindKeepAlive(context) TransmitRewindData(context, REWIND_TYPE_KEEP_ALIVE, REWIND_FLAG_NONE, context->data, context->length);
#define TransmitRewindCloae(context) TransmitRewindData(context, REWIND_TYPE_CLOSE, REWIND_FLAG_NONE, NULL, 0 ); #define TransmitRewindClose(context) TransmitRewindData(context, REWIND_TYPE_CLOSE, REWIND_FLAG_NONE, NULL, 0 );
#ifdef __cplusplus #ifdef __cplusplus
} }