str = (str1) ? strdup(str1) : NULL; כמו if (str = str1) str = strdup(str1); else str = NULL; } כי זה לא מתקמפל