"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "process.c" between
minidlna-1.1.5.tar.gz and minidlna-1.2.0.tar.gz

About: ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

process.c  (minidlna-1.1.5):process.c  (minidlna-1.2.0)
skipping to change at line 99 skipping to change at line 99
{ {
DPRINTF(E_WARN, L_GENERAL, "Exceeded max connections [%d], not fo rking\n", DPRINTF(E_WARN, L_GENERAL, "Exceeded max connections [%d], not fo rking\n",
runtime_vars.max_connections); runtime_vars.max_connections);
errno = EAGAIN; errno = EAGAIN;
return -1; return -1;
} }
pid_t pid = fork(); pid_t pid = fork();
if (pid > 0) if (pid > 0)
{ {
number_of_children++;
if (client) if (client)
client->connections++; client->connections++;
add_process_info(pid, client); add_process_info(pid, client);
number_of_children++;
} }
return pid; return pid;
} }
void void
process_handle_child_termination(int signal) process_handle_child_termination(int signal)
{ {
pid_t pid; pid_t pid;
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS