aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2012-11-07 21:10:32 +0000
committerokan2012-11-07 21:10:32 +0000
commitd601f33ea9f677f4577fb61b4ec4861b6cdb0589 (patch)
treedc855560a6417dc53e8d1916e433d6f98d658b77
parentcd312582d85e9bae6ecccf6b5bc9a290bd27d45f (diff)
downloadcwm-d601f33ea9f677f4577fb61b4ec4861b6cdb0589.tar.gz
style nit; from Tiago Cunha.
Diffstat (limited to '')
-rw-r--r--conf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index 78691b2..3751a9b 100644
--- a/conf.c
+++ b/conf.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: conf.c,v 1.106 2012/11/07 21:04:55 okan Exp $
+ * $OpenBSD: conf.c,v 1.107 2012/11/07 21:10:32 okan Exp $
*/
#include <sys/param.h>
@@ -461,9 +461,8 @@ conf_bindname(struct conf *c, char *name, char *binding)
/* skip past the modifiers */
substring++;
- } else {
+ } else
substring = name;
- }
if (substring[0] == '[' &&
substring[strlen(substring)-1] == ']') {