From jeff.horner at vanderbilt.edu  Thu Jan 11 18:49:14 2007
From: jeff.horner at vanderbilt.edu (Jeffrey Horner)
Date: Thu, 11 Jan 2007 11:49:14 -0600
Subject: [Rd] Miniscule patch to internet.c
Message-ID: <45A6789A.7090304@vanderbilt.edu>

Looks like a benign copy-paste issue. This is in R_newurl, and I doubt 
anyone would miss that one byte, though.

Index: src/modules/internet/internet.c
===================================================================
--- src/modules/internet/internet.c     (revision 40446)
+++ src/modules/internet/internet.c     (working copy)
@@ -167,7 +167,7 @@

      new = (Rconnection) malloc(sizeof(struct Rconn));
      if(!new) error(_("allocation of url connection failed"));
-    new->class = (char *) malloc(strlen("file") + 1);
+    new->class = (char *) malloc(strlen("url") + 1);
      if(!new->class) {
         free(new);
         error(_("allocation of url connection failed"));

Jeff
-- 
http://biostat.mc.vanderbilt.edu/JeffreyHorner



[Rd] Miniscule patch to internet.c
Jeffrey Horner