changeset 159:38f79bcba50d

modified to accept capitalization.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Mon, 10 Sep 2012 20:43:22 +0900
parents 6fab243c91ab
children ee69ddb11f93
files src/recpt1.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/recpt1.c	Mon Sep 10 20:32:20 2012 +0900
+++ b/src/recpt1.c	Mon Sep 10 20:43:22 2012 +0900
@@ -239,7 +239,8 @@
 {
     int lp;
 
-    if(channel[0] == 'B' && channel[1] == 'S') {
+    if((channel[0] == 'B' || channel[0] == 'b') &&
+       (channel[1] == 'S' || channel[1] == 's')) {
         int node = 0;
         int slot = 0;
         char *bs_ch;