diff src/recpt1.c @ 159:38f79bcba50d

modified to accept capitalization.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Mon, 10 Sep 2012 20:43:22 +0900
parents 159a729b90eb
children ade99239f234
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;