[Rd] Miniscule patch to internet.c
Jeffrey Horner
jeff.horner at vanderbilt.edu
Thu Jan 11 18:49:14 CET 2007
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
More information about the R-devel
mailing list