Changed C++ style comments to C ones

pull/1/head
Benjamin Dürholt 9 years ago
parent 4c1bd4e76e
commit 97490d68b0

@ -109,7 +109,7 @@ struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert)
gnutls_global_set_log_function(rfbssl_log_func);
gnutls_global_set_log_level(1);
gnutls_certificate_set_dh_params(ctx->x509_cred, ctx->dh_params);
//newly allocated memory should be initialized, at least where it is important
/* newly allocated memory should be initialized, at least where it is important */
ctx->peekstart = ctx->peeklen = 0;
return ctx;
}

@ -165,7 +165,7 @@ void rfbTightCleanup (rfbScreenInfoPtr screen)
}
if (j) {
tjDestroy(j);
//Set freed resource handle to 0!
/* Set freed resource handle to 0! */
j = 0;
}
}

Loading…
Cancel
Save