Kaydet (Commit) cc41e19c authored tarafından Gürer Özen's avatar Gürer Özen

string işlemi fix

üst 7916177b
......@@ -258,6 +258,11 @@ db_del_app(const char *app)
if (k) {
if (k[sa] == '/') ++sa;
memmove(k, k + sa, strlen(k) - sa + 1);
sa = strlen(list2);
if (sa > 0) {
if (list2[sa-1] == '/')
list2[sa-1] = '\0';
}
e = put_data(model_db, t, list2, strlen(list2) + 1);
if (e) goto out;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment