comparison scpmisc.c @ 1256:506f7681d0f8 coverity

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 22:45:43 +0800
parents 5dde22e8a189
children e7f11ed5fe28
comparison
equal deleted inserted replaced
1219:84cf9062718d 1256:506f7681d0f8
1 /* Dropbear Note: This file is based on OpenSSH 4.3p2. Avoid unnecessary
2 changes to simplify future updates */
3
1 /* 4 /*
2 * Copyright (c) 2000 Markus Friedl. All rights reserved. 5 * Copyright (c) 2000 Markus Friedl. All rights reserved.
3 * 6 *
4 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
221 { 224 {
222 va_list args; 225 va_list args;
223 va_start(args, fmt); 226 va_start(args, fmt);
224 vfprintf(stderr, fmt, args); 227 vfprintf(stderr, fmt, args);
225 va_end(args); 228 va_end(args);
229 fputc('\n', stderr);
226 exit(255); 230 exit(255);
227 } 231 }
228 232
229 void 233 void
230 sanitise_stdfd(void) 234 sanitise_stdfd(void)