diff options
-rw-r--r-- | blasms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -329,8 +329,8 @@ int main(int argc, char *argv[]) { } replacestr(systemcmd, i, 2, telnum); - replacestr(systemcmd, strlen(systemcmd) - 1, 0, ":"); - replacestr(systemcmd, strlen(systemcmd) - 1, 0, line + telnumlen); + replacestr(systemcmd, i + strlen(telnum), 0, ":"); + replacestr(systemcmd, i + strlen(telnum) + 1, 0, line + telnumlen); break; } |