Mercurial > hg > nnchat
comparison main.c @ 582:8a0c2eb25b35
Adjust certain error message formats slightly.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 05 Jan 2013 18:33:29 +0200 |
parents | 97a49a6cc959 |
children | 6d23385c0643 |
comparison
equal
deleted
inserted
replaced
581:97a49a6cc959 | 582:8a0c2eb25b35 |
---|---|
398 | 398 |
399 | 399 |
400 void nn_ioctx_errfunc(th_ioctx_t *ctx, int err, const char *msg) | 400 void nn_ioctx_errfunc(th_ioctx_t *ctx, int err, const char *msg) |
401 { | 401 { |
402 (void) err; | 402 (void) err; |
403 errorMsg("['%s' @ #%d]: %s", | 403 errorMsg("[%s:%d] %s", |
404 ctx->filename, ctx->line, msg); | 404 ctx->filename, ctx->line, msg); |
405 } | 405 } |
406 | 406 |
407 | 407 |
408 void nn_ioctx_msgfunc(th_ioctx_t *ctx, const char *msg) | 408 void nn_ioctx_msgfunc(th_ioctx_t *ctx, const char *msg) |