Mercurial > pidgin
comparison src/util.c @ 3427:8fa61405af2b
[gaim-migrate @ 3453]
Who never commits anything *now*, Etan?
I changed most of the error message text around. If you think any of it
should be different, just let me know, or send a patch.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Sun, 25 Aug 2002 10:51:24 +0000 |
| parents | 0e79bf1d79ea |
| children | 222e23f91092 |
comparison
equal
deleted
inserted
replaced
| 3426:ccbcc11a68c2 | 3427:8fa61405af2b |
|---|---|
| 351 if (!fd) { | 351 if (!fd) { |
| 352 res = mkdir(log_all_file, S_IRUSR | S_IWUSR | S_IXUSR); | 352 res = mkdir(log_all_file, S_IRUSR | S_IWUSR | S_IXUSR); |
| 353 if (res < 0) { | 353 if (res < 0) { |
| 354 g_snprintf(buf, BUF_LONG, "Unable to make directory %s for logging", | 354 g_snprintf(buf, BUF_LONG, "Unable to make directory %s for logging", |
| 355 log_all_file); | 355 log_all_file); |
| 356 do_error_dialog(buf, "Error!"); | 356 do_error_dialog(buf, NULL, GAIM_ERROR); |
| 357 g_free(buf); | 357 g_free(buf); |
| 358 g_free(buf2); | 358 g_free(buf2); |
| 359 g_free(gaim_dir); | 359 g_free(gaim_dir); |
| 360 return NULL; | 360 return NULL; |
| 361 } | 361 } |
| 373 if (!fd) { | 373 if (!fd) { |
| 374 res = mkdir(log_all_file, S_IRUSR | S_IWUSR | S_IXUSR); | 374 res = mkdir(log_all_file, S_IRUSR | S_IWUSR | S_IXUSR); |
| 375 if (res < 0) { | 375 if (res < 0) { |
| 376 g_snprintf(buf, BUF_LONG, "Unable to make directory %s for logging", | 376 g_snprintf(buf, BUF_LONG, "Unable to make directory %s for logging", |
| 377 log_all_file); | 377 log_all_file); |
| 378 do_error_dialog(buf, "Error!"); | 378 do_error_dialog(buf, NULL, GAIM_ERROR); |
| 379 g_free(buf); | 379 g_free(buf); |
| 380 g_free(buf2); | 380 g_free(buf2); |
| 381 g_free(gaim_dir); | 381 g_free(gaim_dir); |
| 382 return NULL; | 382 return NULL; |
| 383 } | 383 } |
