lib/canon-host.c


Log

Author Commit Date CI Message
Jim Meyering 011f3dd8 2000-06-21T13:00:49 (canon_host): Use malloc and memcpy to copy an address, not strdup. Include <stdlib.h> and don't declare free().
Jim Meyering eeedc1da 2000-04-29T09:25:09 Declare strdup only if it's not defined.
Jim Meyering 968fbdf8 2000-04-05T14:57:36 (canon_host): Declare strdup. Required for ultrix4.3.
Jim Meyering 47dfd672 1999-03-10T15:39:02 (canon_host): Don't use he->h_addr directly. Based on a patch from Savochkin Andrey Vladimirovich.
Jim Meyering eef6a0f2 1999-01-11T02:46:33 (main) [TEST_CANON_HOST]: Add a simple test driver.
Jim Meyering ea12910c 1999-01-07T03:43:01 protoize
Jim Meyering d752aba7 1996-11-03T20:59:43 Include sys/types.h for the definitions (otherwise missing on some systems) of caddr_t (used by sys/socket.h) and ushort (used by netinet/in.h). From Karl Heuer.
Jim Meyering 783c1624 1996-07-15T03:56:06 indent cpp-directives
Jim Meyering 5d08444e 1996-07-15T03:43:36 update FSF address in copyright
Jim Meyering bbe5687e 1996-02-23T16:14:27 [HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET on at least SunOS 4.
Jim Meyering 96d1a464 1996-02-13T05:28:38 Be careful to always return something.
Jim Meyering 50e77338 1996-02-04T13:22:22 (canon_host): Cast returned he->h_name to char*.
Jim Meyering 7f81c241 1996-02-04T12:47:33 .