examples: unbuffered-server: skip argv[0]

This commit is contained in:
Benjamin Jurk 2024-01-06 18:17:37 +01:00 committed by Joe Birr-Pixton
parent 567d89227d
commit 20ac87f64f
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ use rustls_pemfile::Item;
fn main() -> Result<(), Box<dyn Error>> {
let mut args = env::args();
args.next();
let cert_file = args
.next()
.expect("missing certificate file argument");