Changeset: 631a6f1c1aab for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=631a6f1c1aab
Modified Files:
clients/src/mapilib/Mapi.mx
Branch: default
Log Message:
Balance parentheses, even if HAVE_SYS_UN_H not set.
diffs (17 lines):
diff -r 3f9a6a208949 -r 631a6f1c1aab clients/src/mapilib/Mapi.mx
--- a/clients/src/mapilib/Mapi.mx Wed Jan 05 13:52:34 2011 +0100
+++ b/clients/src/mapilib/Mapi.mx Thu Jan 06 10:12:44 2011 +0100
@@ -2207,12 +2207,10 @@
if (strlen(buf) <= sizeof(((struct sockaddr_un *)
0)->sun_path) &&
stat(buf, &st) != -1 &&
S_ISSOCK(st.st_mode))
- {
mid->hostname = strdup(buf);
- } else {
+ else
#endif
mid->hostname = strdup("localhost");
- }
}
} else {
/* make sure we won't search for a unix socket first */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list