ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/netdisp.C
(Generate patch)

Comparing rxvt-unicode/src/netdisp.C (file contents):
Revision 1.2 by pcg, Mon Nov 24 17:31:27 2003 UTC vs.
Revision 1.3 by pcg, Sat Jan 31 00:20:21 2004 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: netdisp.c 2 * File: netdisp.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: netdisp.C,v 1.2 2003/11/24 17:31:27 pcg Exp $ 4 * $Id: netdisp.C,v 1.3 2004/01/31 00:20:21 pcg Exp $
5 * 5 *
6 * All portions of code are copyright by their respective author/s. 6 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1996 Chuck Blake <cblake@BBN.COM> 7 * Copyright (c) 1996 Chuck Blake <cblake@BBN.COM>
8 * - original version 8 * - original version
9 * Copyright (c) 1997 mj olesen <olesen@me.queensu.ca> 9 * Copyright (c) 1997 mj olesen <olesen@me.queensu.ca>
38#ifdef DISPLAY_IS_IP 38#ifdef DISPLAY_IS_IP
39#include "netdisp.h" 39#include "netdisp.h"
40 40
41/*----------------------------------------------------------------------*/ 41/*----------------------------------------------------------------------*/
42/* return NULL a pointer to buffer which may be freed */ 42/* return NULL a pointer to buffer which may be freed */
43/* EXTPROTO */
44char * 43char *
45rxvt_network_display(const char *display) 44rxvt_network_display(const char *display)
46{ 45{
47 char buffer[1024], *rval = NULL; 46 char buffer[1024], *rval = NULL;
48 struct ifconf ifc; 47 struct ifconf ifc;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines