dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
wsti_so.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove not used conditional.
[wsti_so.git]
/
src
/
process2.c
diff --git
a/src/process2.c
b/src/process2.c
index 861919ce8b45b606fc11579ace0f6de0de3030e3..d498f1c8300de57ab9eefc5caf00629f09e4af0e 100644
(file)
--- a/
src/process2.c
+++ b/
src/process2.c
@@
-94,10
+94,6
@@
void sig_handler(int signo)
fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0]));
raise(msg.signo[0]);
}
fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0]));
raise(msg.signo[0]);
}
- else if (msgrcv(qid, &msg, sizeof(int), 2, 0) > 0) {
- fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0]));
- raise(msg.signo[0]);
- }
}
else if (signo == SIGTERM) {
fprintf(stderr, "[%s] > Signalling other processes..\n", "process2");
}
else if (signo == SIGTERM) {
fprintf(stderr, "[%s] > Signalling other processes..\n", "process2");