Commit 5509cb64 authored by Karl Heyes's avatar Karl Heyes
Browse files

Use the package string from autotools for usage and shout HTTP headers

svn path=/trunk/ices/; revision=4555
parent f8d1bd94
/* ices.c
* - Main startup, thread launching, and cleanup code.
*
* $Id: ices.c,v 1.8 2003/03/22 02:27:55 karl Exp $
* $Id: ices.c,v 1.9 2003/03/28 00:45:54 karl Exp $
*
* Copyright (c) 2001-2002 Michael Smith <msmith@labyrinth.net.au>
*
......@@ -20,8 +20,8 @@
#include <unistd.h>
#include "resolver.h"
#include "thread.h"
#include <net/resolver.h>
#include <thread/thread.h>
#include "cfgparse.h"
#include "stream.h"
......@@ -38,7 +38,7 @@ int main(int argc, char **argv)
if (argc != 2)
{
fprintf(stderr, VERSIONSTRING "\n"
fprintf(stderr, PACKAGE_STRING "\n"
" (c) Copyright 2001-2002 Michael Smith <msmith@icecast.org>\n"
"\n"
"Usage: \"ices config.xml\"\n");
......
/* stream.c
* - Core streaming functions/main loop.
*
* $Id: stream.c,v 1.27 2003/03/22 02:27:55 karl Exp $
* $Id: stream.c,v 1.28 2003/03/28 00:45:54 karl Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
......@@ -95,7 +95,7 @@ void *ices_instance_stream(void *arg)
return NULL;
}
if (!(shout_set_agent(sdsc->shout, VERSIONSTRING)) == SHOUTERR_SUCCESS) {
if (!(shout_set_agent(sdsc->shout, PACKAGE_STRING)) == SHOUTERR_SUCCESS) {
LOG_ERROR1("libshout error: %s\n", shout_get_error(sdsc->shout));
stream->died = 1;
return NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment