diff options
| -rw-r--r-- | src/util/shell.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/shell.c b/src/util/shell.c index 39f1cb1..6b461be 100644 --- a/src/util/shell.c +++ b/src/util/shell.c @@ -696,7 +696,7 @@ int shell_main(struct lgsm_handle *lgsmh, int sync)  			} else if (!strcmp(buf, "r")) {  				printf("Register\n");  				lgsm_netreg_register(lgsmh, "\0     "); -			} else if (!strcmp(buf,"R")) { +			} else if (buf[0] == 'R') {  				printf("Register to operator\n");  				ptr = strchr(buf, '=');  				if (!ptr || strlen(ptr) < 6)  | 
