Changeset: 9b68d6f90740 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9b68d6f90740
Modified Files:
monetdb5/modules/atoms/url.mx
Branch: Apr2012
Log Message:
pass string to GDK_STRNIL not pointer to a string
diffs (18 lines):
diff --git a/monetdb5/modules/atoms/url.mx b/monetdb5/modules/atoms/url.mx
--- a/monetdb5/modules/atoms/url.mx
+++ b/monetdb5/modules/atoms/url.mx
@@ -1158,11 +1158,11 @@ URLnew4(str *url, str *protocol, str *se
str File = *file;
int l, i;
- if (GDK_STRNIL(file))
+ if (GDK_STRNIL(File))
File = "";
- if (GDK_STRNIL(server))
+ if (GDK_STRNIL(Server))
Server = "";
- if (GDK_STRNIL(protocol))
+ if (GDK_STRNIL(Protocol))
Protocol = "";
l = (int) (strlen(File) + strlen(Server) + strlen(Protocol) + 20);
*url = (str) GDKmalloc(l);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list