summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-11-07 21:10:33 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-11-07 21:10:33 +0000
commit7e0a6f9a873a76462d0d28c8e853675fcbbc10e8 (patch)
treec6be4a3214773ac3d23b759b146c5149fc40cccd
parentaa30e4748c81e0d6a52b82429d597e51c2e53ec2 (diff)
style nit; from Tiago Cunha.
-rw-r--r--app/cwm/conf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c
index 78691b27a..3751a9b39 100644
--- a/app/cwm/conf.c
+++ b/app/cwm/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] == ']') {