diff options
Diffstat (limited to 'lib/portname.c')
-rw-r--r-- | lib/portname.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/portname.c b/lib/portname.c index d8bf1d91cc5bc..a9c60711dff66 100644 --- a/lib/portname.c +++ b/lib/portname.c @@ -1,19 +1,20 @@ /* - * Copyright (C) 2000-2003 by Darren Reed. + * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. * - * $Id: portname.c,v 1.7.2.1 2006/06/16 17:21:09 darrenr Exp $ + * $Id$ */ #include "ipf.h" -char *portname(pr, port) -int pr, port; +char *portname(pr, port) + int pr, port; { - static char buf[32]; - struct protoent *p = NULL; - struct servent *sv = NULL, *sv1 = NULL; + static char buf[32]; + struct protoent *p = NULL; + struct servent *sv = NULL; + struct servent *sv1 = NULL; if ((opts & OPT_NORESOLVE) == 0) { if (pr == -1) { |