Remove extra spacing and fix indentation

This commit is contained in:
Michelle Bergeron 2014-01-29 02:15:49 -05:00
parent c04a8e9b4c
commit da9433fb0a
7 changed files with 6 additions and 12 deletions

View File

@ -98,4 +98,4 @@ int BbPut(PBYTE_BUFFER buff, char c) {
buff->position += sizeof(c);
return 1;
}
}

View File

@ -66,10 +66,10 @@ static PNVCTL_PACKET_HEADER readNvctlPacket(void) {
memcpy(fullPacket, &staticHeader, sizeof(staticHeader));
if (staticHeader.payloadLength != 0) {
err = recv(ctlSock, (char*) (fullPacket + 1), staticHeader.payloadLength, 0);
if (err != staticHeader.payloadLength) {
free(fullPacket);
return NULL;
}
if (err != staticHeader.payloadLength) {
free(fullPacket);
return NULL;
}
}
return fullPacket;

View File

@ -10,7 +10,6 @@
#include <pthread.h>
#endif
#ifdef _WIN32
# if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
# define LC_WINDOWS_PHONE

View File

@ -79,4 +79,4 @@ void cleanupPlatformSockets(void) {
WSACleanup();
#else
#endif
}
}

View File

@ -216,6 +216,3 @@ int PltWaitForEvent(PLT_EVENT *event) {
pthread_mutex_unlock(&event->mutex);
#endif
}

View File

@ -246,4 +246,3 @@ void queueRtpPacket(PRTP_PACKET rtpPacket, int length) {
processRtpPayload((PNV_VIDEO_PACKET) (rtpPacket + 1), length - sizeof(*rtpPacket));
}

View File

@ -231,4 +231,3 @@ int startVideoStream(void* rendererContext, int drFlags) {
return 0;
}