irssi/src/fe-common/irc/dcc
dequis 52bb06ccd9 fe-dcc-(get|send): Fix some -Wpointer-compare with newer gcc
The warning itself:

>warning: comparison between pointer and zero character constant [-Wpointer-compare]

Harmless stuff as far as I can tell.

The fix adds a null check that probably isn't needed. The old code that
compared against '\0' worked a lot like a null check so it makes sense
to keep that, while also adding the intended check for empty string.

This was visible with "/dcc close send a" showing an empty filename.
The equivalent for get didn't show the filename in the format string.
2017-06-05 15:58:43 -03:00
..
fe-dcc-chat-messages.c source cleanup: remove trailing whitespaces 2014-09-11 19:10:33 +02:00
fe-dcc-chat.c Implement CHANTYPES support 2015-05-15 17:07:30 +02:00
fe-dcc-get.c fe-dcc-(get|send): Fix some -Wpointer-compare with newer gcc 2017-06-05 15:58:43 -03:00
fe-dcc-send.c fe-dcc-(get|send): Fix some -Wpointer-compare with newer gcc 2017-06-05 15:58:43 -03:00
fe-dcc-server.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
fe-dcc.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
fe-dcc.h Prettier displaying of DCC transfers, including adding ETA. 2002-11-21 18:48:03 +00:00
Makefile.am s/INCLUDES/AM_CPPFLAGS/g 2014-06-27 09:06:21 -04:00
module-formats.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
module-formats.h Added DCC SERVER support by Mark Trumbull 2003-10-01 16:02:43 +00:00
module.h Moved some stuff from irc to core. Added command_bind_proto() function to 2001-11-02 01:05:14 +00:00