From 4f387321cea8907130ab3dc6d52e6c9bf1f7f9af Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Thu, 5 Jun 2014 22:02:14 +0300 Subject: [PATCH] misc: update AUTHORS.md, add CR to sgminer.c, minor style. --- AUTHORS.md | 3 +-- sgminer.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index 77e559ab..20d634e5 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -3,7 +3,7 @@ ## Core * Multiple algorithms and switching: Jan Berdajs 15bULC8snaKAMeFb3xBmmhbWj1xyTmBUfm -* Scrypt-only refactor: Noel Maersk LfxRFgXzA13TSTxgFGUFEtumv5ShGzAmLw +* Historical scrypt-only refactor: Noel Maersk 12jF1VExtmmMu8D36vo4Y4CYqLK5yCtLC4 * Core: Martin Danielsen 1DNBcSEENBwDKrcTyTW61ezWhzsPy5imkn * Core: Con Kolivas 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ * Core: Luke Dashjr 1QATWksNFGeUJCWBrN4g6hGM178Lovm7Wh @@ -33,7 +33,6 @@ updated by many others. ## Testing, bug fixes, improvements -* Hot-switching OpenCL kernel (N-Factor): Jan Berdajs * Michael Fiano * Gabriel Devenyi * Benjamin Herrenschmidt diff --git a/sgminer.c b/sgminer.c index b2687cdb..020fbd36 100644 --- a/sgminer.c +++ b/sgminer.c @@ -1,4 +1,5 @@ /* + * Copyright 2013-2014 sgminer developers (see AUTHORS.md) * Copyright 2011-2013 Con Kolivas * Copyright 2011-2012 Luke Dashjr * Copyright 2010 Jeff Garzik @@ -756,8 +757,7 @@ static void setup_url(struct pool *pool, char *arg) return; opt_set_charp(arg, &pool->rpc_url); - if (strncmp(arg, "http://", 7) && - strncmp(arg, "https://", 8)) { + if (strncmp(arg, "http://", 7) && strncmp(arg, "https://", 8)) { char *httpinput; httpinput = (char *)malloc(255);