Adding \n to a message.
This commit is contained in:
parent
b10f700f35
commit
621f57aec0
@ -67,7 +67,7 @@ int main(int argc, char **argv) {
|
||||
unlink(SOCKET_ADDRESS);
|
||||
size_t max_size_sun_path = sizeof address.sun_path - 1;
|
||||
if (strlen(SOCKET_ADDRESS) > max_size_sun_path) {
|
||||
fprintf(stderr, "Too big socket address");
|
||||
fprintf(stderr, "Too big socket address\n");
|
||||
exit (2);
|
||||
}
|
||||
strncpy(address.sun_path, SOCKET_ADDRESS, max_size_sun_path);
|
||||
|
@ -110,7 +110,7 @@ msPacketSaveRequestSendResponse(struct mCoreThread *threadContext) {
|
||||
pthread_mutex_lock(data->mutexSaveRequests);
|
||||
requestsLen = data->saveRequestsLen;
|
||||
if (!requestsLen) {
|
||||
printf("Somehow the queue of saveRequests got exhausted, this should not happen.");
|
||||
printf("Somehow the queue of saveRequests got exhausted, this should not happen.\n");
|
||||
goto unlock_ms_packet_save_request_send_response;
|
||||
}
|
||||
struct msCoreController *coreController = data->coreController;
|
||||
|
Loading…
Reference in New Issue
Block a user