~ubuntu-branches/debian/sid/net-tools/sid

« back to all changes in this revision

Viewing changes to lib/ddp.c

  • Committer: Package Import Robot
  • Author(s): Martín Ferrari
  • Date: 2015-09-07 01:54:07 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150907015407-v2tfsgxayjd3iq4i
Tags: 1.60+git20150829.73cef8a-1
* After 14 years without an upstream release, I am producing a new package
  based on today's upstream repository.
  Closes: #391495, #486448, #323261, #260587, #545328, #511395.
* Remove many patches now merged upstream, delete unmaintainable and
  undocumented local changes, and update the rest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "util.h"
33
33
 
34
34
/* Display a ddp domain address. */
35
 
static char *ddp_print(unsigned char *ptr)
 
35
static const char *ddp_print(const char *ptr)
36
36
{
37
37
    static char buff[64];
38
38
    struct sockaddr_at *sat = (struct sockaddr_at *) (ptr - 2);
42
42
 
43
43
 
44
44
/* Display a ddp domain address. */
45
 
static char *ddp_sprint(struct sockaddr *sap, int numeric)
 
45
static const char *ddp_sprint(const struct sockaddr *sap, int numeric)
46
46
{
47
47
    static char buf[64];
48
48