Differences From Artifact [9ad16c2e11]:
- File src/http_socket.c — part of check-in [b5d69afed7] at 2012-08-21 11:18:33 on branch jn-mingw-w64-compiler-warnings — In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:11:0, from src/cgi.c:29: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h src/file.c:47:0: warning: "stat" redefined /usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this is the location of the previous definition In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:11:0, from src/http_socket.c:35: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h src/shell.c:67:0: warning: "popen" redefined /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:503:0: note: this is the location of the previous definition src/shell.c:68:0: warning: "pclose" redefined /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:504:0: note: this is the location of the previous definition (user: jan.nijtmans size: 5637) [more...]
To Artifact [dfc31eb996]:
- File src/http_socket.c — part of check-in [645f34834d] at 2012-09-05 12:55:23 on branch eclipse-project — const-qualification (user: jan.nijtmans size: 5643)
| ︙ | ︙ | |||
64 65 66 67 68 69 70 | free(socketErrMsg); socketErrMsg = 0; } /* ** Set the socket error message. */ | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
free(socketErrMsg);
socketErrMsg = 0;
}
/*
** Set the socket error message.
*/
void socket_set_errmsg(const char *zFormat, ...){
va_list ap;
socket_clear_errmsg();
va_start(ap, zFormat);
socketErrMsg = vmprintf(zFormat, ap);
va_end(ap);
}
|
| ︙ | ︙ |