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.4 by pcg, Sat Jan 31 03:27:45 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 $
5 * 4 *
6 * All portions of code are copyright by their respective author/s. 5 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1996 Chuck Blake <cblake@BBN.COM> 6 * Copyright (c) 1996 Chuck Blake <cblake@BBN.COM>
8 * - original version 7 * - original version
9 * Copyright (c) 1997 mj olesen <olesen@me.queensu.ca> 8 * Copyright (c) 1997 mj olesen <olesen@me.queensu.ca>
38#ifdef DISPLAY_IS_IP 37#ifdef DISPLAY_IS_IP
39#include "netdisp.h" 38#include "netdisp.h"
40 39
41/*----------------------------------------------------------------------*/ 40/*----------------------------------------------------------------------*/
42/* return NULL a pointer to buffer which may be freed */ 41/* return NULL a pointer to buffer which may be freed */
43/* EXTPROTO */
44char * 42char *
45rxvt_network_display(const char *display) 43rxvt_network_display(const char *display)
46{ 44{
47 char buffer[1024], *rval = NULL; 45 char buffer[1024], *rval = NULL;
48 struct ifconf ifc; 46 struct ifconf ifc;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines