Commit Graph

9 Commits

Author SHA1 Message Date
Clément Bœsch
a5432919ca Remove pointless if before calling free.
The free() function frees the memory space pointed to by ptr, which must
have been returned by a previous call to malloc(), calloc() or
realloc().  Otherwise, or if free(ptr) has already been called before,
undefined behavior occurs.  If ptr is NULL, no operation is performed.
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

                                          -- man malloc(3)
2011-01-12 20:17:57 +01:00
Clément Bœsch
209f9a09a4 Make a bunch of functions static. 2011-01-12 20:17:56 +01:00
Raphael Khaiat
bc31510d64 Merge branch master in bacardi55 2010-11-19 23:41:56 +01:00
Martin Duquesnoy
e6fc0a4976 Event: Remove send_client_message function 2010-07-26 11:32:26 +02:00
Philippe Pepiot
e723c03fe3 All: Use err(x) warn(x) instead of fprintf for formated error messages
with additional information from errno.
2009-10-14 00:15:24 +02:00
Martin Duquesnoy
36c9f52296 All: Update head license in each file. 2009-08-22 22:56:41 +02:00
Martin Duquesnoy
f7315edc12 Getinfo: Set all char* to NULL. 2009-05-02 23:28:20 +02:00
Martin Duquesnoy
c9ffaafb77 Getinfo: Add doxy comments 2009-04-30 22:15:24 +02:00
Martin Duquesnoy
81a06e6189 Man: Update manpage for -g option 2009-04-30 22:07:17 +02:00