mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-26 23:19:41 +00:00
Remove left over record code. Squelch compile warnings
This commit is contained in:
@@ -56,6 +56,10 @@
|
||||
# define md5_read_ctx __md5_read_ctx
|
||||
# define md5_stream __md5_stream
|
||||
# define md5_buffer __md5_buffer
|
||||
#else
|
||||
/* Squelch compiler complaints */
|
||||
void md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx);
|
||||
void md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx);
|
||||
#endif
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
|
||||
@@ -14,7 +14,6 @@ typedef struct {
|
||||
int handler_id;
|
||||
int ssl_only;
|
||||
int daemon;
|
||||
char *record;
|
||||
char *cert;
|
||||
} settings_t;
|
||||
|
||||
|
||||
@@ -273,13 +273,6 @@ int main(int argc, char *argv[])
|
||||
case 'f':
|
||||
foreground = 1;
|
||||
break;
|
||||
case 'r':
|
||||
if ((fd = open(optarg, O_CREAT,
|
||||
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < -1) {
|
||||
usage("Could not access %s\n", optarg);
|
||||
}
|
||||
close(fd);
|
||||
break;
|
||||
case 'c':
|
||||
settings.cert = realpath(optarg, NULL);
|
||||
if (! settings.cert) {
|
||||
|
||||
Reference in New Issue
Block a user