pidgin/pidgin

finch: Fix incorrect call to fork.

2019-10-02, Elliott Sales de Andrade
79a00e51853d
Parents faeb56dcfc6b
Children ca351705df18
finch: Fix incorrect call to fork.
--- a/finch/plugins/gntclipboard.c Wed Oct 02 02:33:42 2019 -0400
+++ b/finch/plugins/gntclipboard.c Wed Oct 02 02:34:03 2019 -0400
@@ -99,7 +99,7 @@
if (child) {
kill(child, SIGTERM);
}
- if ((child = fork() == 0)) {
+ if ((child = fork()) == 0) {
set_clip(string);
_exit(0);
}