Skip to content

Commit

Permalink
Standardize function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Azif committed Jan 4, 2022
1 parent 7a3fe2f commit b1bc43d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libLog.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static bool _validIPAddress(const char *p_IpAddress) {
return true;
}

static void _send_socket(const char *s_Buffer) {
static void _sendSocket(const char *s_Buffer) {
if (s_Buffer == NULL) {
return;
}
Expand All @@ -349,7 +349,7 @@ static void _send_socket(const char *s_Buffer) {
sendto(g_Socket, s_Buffer, strlen(s_Buffer), 0, (struct sockaddr *)&s_Servaddr, sizeof(s_Servaddr));
}

static void _write_file(const char *s_Buffer) {
static void _writeFile(const char *s_Buffer) {
if (s_Buffer == NULL || g_LogFilePointer == NULL) {
return;
}
Expand Down Expand Up @@ -395,9 +395,9 @@ static void _printByType(enum PrintTypes p_PrintType, const char *s_Buffer) {
printf("sceKernelDebugOutText(0, %s);\n", s_Buffer);
#endif
} else if (p_PrintType == PT_Socket) {
_send_socket(s_Buffer);
_sendSocket(s_Buffer);
} else if (p_PrintType == PT_File) {
_write_file(s_Buffer);
_writeFile(s_Buffer);
}
}

Expand Down

0 comments on commit b1bc43d

Please sign in to comment.