70 if(list->size != 1) { |
70 if(list->size != 1) { |
71 fprintf(stderr, "Error: Multiple Runtime elements in %s\n", configfile); |
71 fprintf(stderr, "Error: Multiple Runtime elements in %s\n", configfile); |
72 return -1; |
72 return -1; |
73 } |
73 } |
74 ConfigNode *runtime = cxListAt(list, 0); |
74 ConfigNode *runtime = cxListAt(list, 0); |
75 cxstring tmp = serverconfig_directive_value(runtime, cx_str("Temp")); |
75 cxstring tmp = serverconfig_object_directive_value(runtime, cx_str("Temp")); |
76 |
76 |
77 cxListDestroy(list); |
77 cxListDestroy(list); |
78 |
78 |
79 if(!tmp.ptr) { |
79 if(!tmp.ptr) { |
80 fprintf(stderr, "Error: No Temp directive in Runtime Object\n"); |
80 fprintf(stderr, "Error: No Temp directive in Runtime Object\n"); |