if (!_dbus_string_append (&addr_fd, desc))
exit (1);
- print_address = TRUE;
- }
- else if (prev_arg &&
- strcmp (prev_arg, "--print-address") == 0)
- {
- check_two_addr_descriptors (&addr_fd, "print-address");
-
- if (!_dbus_string_append (&addr_fd, arg))
- exit (1);
-
print_address = TRUE;
}
else if (strcmp (arg, "--print-address") == 0)
if (!_dbus_string_append (&pid_fd, desc))
exit (1);
- print_pid = TRUE;
- }
- else if (prev_arg &&
- strcmp (prev_arg, "--print-pid") == 0)
- {
- check_two_pid_descriptors (&pid_fd, "print-pid");
-
- if (!_dbus_string_append (&pid_fd, arg))
- exit (1);
-
print_pid = TRUE;
}
else if (strcmp (arg, "--print-pid") == 0)
}
}
#endif
+ else if (prev_arg &&
+ strcmp (prev_arg, "--print-address") == 0)
+ {
+ check_two_addr_descriptors (&addr_fd, "print-address");
+
+ if (!_dbus_string_append (&addr_fd, arg))
+ exit (1);
+
+ print_address = TRUE;
+ }
+ else if (prev_arg &&
+ strcmp (prev_arg, "--print-pid") == 0)
+ {
+ check_two_pid_descriptors (&pid_fd, "print-pid");
+
+ if (!_dbus_string_append (&pid_fd, arg))
+ exit (1);
+
+ print_pid = TRUE;
+ }
else
{
usage ();