aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-10-02 16:23:19 +1000
committeronefang2021-10-02 16:23:19 +1000
commit872f548126a2c2258c3d002b29b612e83d611782 (patch)
tree8bf69373fda857f5d349464aedd35b0fbfbe45dd
parentDelete excess [UserProfiles] section. (diff)
downloadopensim-SC-872f548126a2c2258c3d002b29b612e83d611782.zip
opensim-SC-872f548126a2c2258c3d002b29b612e83d611782.tar.gz
opensim-SC-872f548126a2c2258c3d002b29b612e83d611782.tar.bz2
opensim-SC-872f548126a2c2258c3d002b29b612e83d611782.tar.xz
Oops, hard coded path for default inventory.
-rw-r--r--src/sledjchisl/sledjchisl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 1addd09..eb38df1 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1138,10 +1138,10 @@ boolean writeLuaString(reqData *Rd, int fd, char *file, char *name, char *string
1138 1138
1139 size_t l = strlen(string); 1139 size_t l = strlen(string);
1140 char *t0 = xmalloc(l * 2 + 1); 1140 char *t0 = xmalloc(l * 2 + 1);
1141 int i, j = 0; 1141 int j = 0;
1142 1142
1143// TODO - maybe escape other non printables as well? 1143// TODO - maybe escape other non printables as well?
1144 for (i = 0; i < l; i++) 1144 for (int i = 0; i < l; i++)
1145 { 1145 {
1146 // We don't need to escape [] here, coz we are using '' below. Same applies to ", but do it anyway. 1146 // We don't need to escape [] here, coz we are using '' below. Same applies to ", but do it anyway.
1147 switch(string[i]) 1147 switch(string[i])
@@ -5799,7 +5799,6 @@ notWritten:
5799 } 5799 }
5800 } 5800 }
5801 5801
5802 // load iar -m first last / password /opt/opensim_SC/backups/DefaultMember.IAR
5803 struct sysinfo info; 5802 struct sysinfo info;
5804 float la; 5803 float la;
5805 5804
@@ -5817,7 +5816,7 @@ notWritten:
5817 5816
5818 if (checkSimIsRunning(backupIARsim)) 5817 if (checkSimIsRunning(backupIARsim))
5819 { 5818 {
5820 char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last); 5819 char *c = xmprintf("load iar -m %s %s / password %s/DefaultMember.IAR", scBackup, first, last);
5821 5820
5822 I("Loading default member IAR for %s %s in sim %s (pane %s), this might take a couple of minutes.", first, last, name, ourSims->backup); 5821 I("Loading default member IAR for %s %s in sim %s (pane %s), this might take a couple of minutes.", first, last, name, ourSims->backup);
5823 V("In pane %s -> %s", ourSims->backup, c); 5822 V("In pane %s -> %s", ourSims->backup, c);