Enlightenment CVS committal Author : azundris Project : e17 Module : apps/examine
Dir : e17/apps/examine/src Modified Files: examine_client.c Log Message: * unbreak my heart (examine/evidence compat) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/examine/src/examine_client.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- examine_client.c 1 Sep 2004 01:41:06 -0000 1.17 +++ examine_client.c 15 Sep 2004 14:06:18 -0000 1.18 @@ -182,7 +182,11 @@ char *ret, *tmp, *end; if (examine_client_buf && (strlen(examine_client_buf) > 0)) { - ret = strstr(examine_client_buf, "=") + 1; + if(!(ret = strstr(examine_client_buf, "="))) { + printf("OFFENDING STRING: %s\n", examine_client_buf); + goto done; } + + ret++; if (*ret == '"') { ret++; if (end = strstr(ret, "\"")) @@ -193,9 +197,10 @@ *(ret + strlen(ret) - 1) = '\0'; tmp = strstr(examine_client_buf, ":"); *tmp = '\0'; - + __examine_client_theme_search_path = strdup(ret); + done: free(examine_client_buf); examine_client_list_props(); } ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs