/[rdesktop]/sourceforge.net/trunk/rdesktop/rdesktop.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdesktop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1305 by stargo, Thu Sep 21 19:00:11 2006 UTC revision 1306 by astrand, Fri Oct 27 12:59:38 2006 UTC
# Line 1079  xmalloc(int size) Line 1079  xmalloc(int size)
1079          return mem;          return mem;
1080  }  }
1081    
1082    /* Exit on NULL pointer. Use to verify result from XGetImage etc */
1083    void
1084    exit_if_null(void *ptr)
1085    {
1086            if (ptr == NULL)
1087            {
1088                    error("unexpected null pointer. Out of memory?\n");
1089                    exit(1);
1090            }
1091    }
1092    
1093  /* strdup */  /* strdup */
1094  char *  char *
1095  xstrdup(const char *s)  xstrdup(const char *s)

Legend:
Removed from v.1305  
changed lines
  Added in v.1306

  ViewVC Help
Powered by ViewVC 1.1.26