equal
deleted
inserted
replaced
118 memset(matching_filename, 0, sizeof(char) * PATH_MAX); |
118 memset(matching_filename, 0, sizeof(char) * PATH_MAX); |
119 memset(reg_fail_script, 0, sizeof(char) * PATH_MAX); |
119 memset(reg_fail_script, 0, sizeof(char) * PATH_MAX); |
120 |
120 |
121 while( !done ) |
121 while( !done ) |
122 { |
122 { |
123 c = getopt(argc, argv, "l:f:n:e:i:E:A:S:P:DXFRcC1NWvhH"); |
123 c = getopt(argc, argv, "l:f:n:r:e:i:E:A:S:P:DXFRcC1NWvhH"); |
124 switch(c) |
124 switch(c) |
125 { |
125 { |
126 case 'l': |
126 case 'l': |
127 strncpy(local_eid_name, optarg, PATH_MAX); |
127 strncpy(local_eid_name, optarg, PATH_MAX); |
128 break; |
128 break; |
221 exit(1); |
221 exit(1); |
222 } |
222 } |
223 } |
223 } |
224 |
224 |
225 // if no reply-to eid set, use the local eid |
225 // if no reply-to eid set, use the local eid |
226 if (reply_eid_name == NULL) |
226 if (*reply_eid_name == NULL) |
227 strncpy(reply_eid_name, local_eid_name, PATH_MAX); |
227 strncpy(reply_eid_name, local_eid_name, PATH_MAX); |
228 |
228 |
229 return 0; |
229 return 0; |
230 } |
230 } |
231 |
231 |