Skip to content

Commit

Permalink
Consistent scrobsub_start() parameter order
Browse files Browse the repository at this point in the history
Consistent with the protocol documentation order
  • Loading branch information
mxcl committed Jun 10, 2009
1 parent eef5df9 commit b452bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scrobsub.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static void submit()
}


void scrobsub_start(const char* _artist, const char* _track, const char* _album, const char* _mbid, unsigned int _duration, unsigned int _track_number)
void scrobsub_start(const char* _artist, const char* _track, const char* _album, unsigned int _duration, unsigned int _track_number, const char* _mbid)
{
if (!session_id)
handshake();
Expand Down
2 changes: 1 addition & 1 deletion scrobsub.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void scrobsub_auth(char url[110]);

/** A new track started. scrobsub takes copies of the strings. All strings must
* be UTF8. */
void scrobsub_start(const char* artist, const char* track, const char* album, const char* mbid, unsigned int duration, unsigned int track_number);
void scrobsub_start(const char* artist, const char* track, const char* album, unsigned int duration, unsigned int track_number, const char* mbid);
void scrobsub_pause();
void scrobsub_resume();
/** only call this when playback stops, if a new track is about to start, call
Expand Down

0 comments on commit b452bcb

Please sign in to comment.