Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/e_dbus
Dir : e17/libs/e_dbus/src/bin
Modified Files:
notify-send.c
Log Message:
Add paranthesis to clarify test.
===================================================================
RCS file: /cvs/e/e17/libs/e_dbus/src/bin/notify-send.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- notify-send.c 2 Mar 2008 00:26:10 -0000 1.1
+++ notify-send.c 17 Mar 2008 07:20:58 -0000 1.2
@@ -84,7 +84,7 @@
case 't':
errno = 0;
timeout = strtol(optarg, &endptr, 10);
- if (errno != 0 && timeout == 0 ||endptr == optarg )
+ if ((errno != 0 && timeout == 0) || endptr == optarg)
{
fprintf(stderr, "Cannot parse integer value '%s' for -t\n", optarg);
return EXIT_FAILURE;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs